Part Number Hot Search : 
BA60BC0 EPE6243S 31ZA540 13B01 E003805 F3142 Z86E0 TA1211N
Product Description
Full Text Search
 

To Download SAA7118EV1M5 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  d a t a sh eet product speci cation supersedes data of 2004 mar 04 2004 jul 22 integrated circuits saa7118 multistandard video decoder with adaptive comb filter and component video input
2004 jul 22 2 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 contents 1 features 1.1 video acquisition/clock 1.2 video decoder 1.3 component video processing 1.4 video scaler 1.5 vertical blanking interval (vbi) data decoder and slicer 1.6 audio clock generation 1.7 digital i/o interfaces 1.8 miscellaneous 2 applications 3 general description 4 quick reference data 5 ordering information 6 block diagram 7 pinning 8 functional description 8.1 decoder 8.2 component video processing 8.3 decoder output formatter 8.4 scaler 8.5 vbi data decoder and capture (subaddresses 40h to 7fh) 8.6 image port output formatter (subaddresses 84h to 87h) 8.7 audio clock generation (subaddresses 30h to 3fh) 9 input/output interfaces and ports 9.1 analog terminals 9.2 audio clock signals 9.3 clock and real-time synchronization signals 9.4 interrupt handling 9.5 video expansion port (x port) 9.6 image port (i port) 9.7 host port for 16-bit extension of video data i/o (h port) 9.8 basic input and output timing diagrams i port and x port 10 boundary scan test 10.1 initialization of boundary scan circuit 10.2 device identification codes 11 limiting values 12 thermal characteristics 13 characteristics 14 application information 15 i 2 c-bus description 15.1 i 2 c-bus format 15.2 i 2 c-bus details 15.3 programming register rgb/y-p b -p r component input processing 15.4 interrupt mask registers 15.5 programming register audio clock generation 15.6 programming register vbi data slicer 15.7 programming register interfaces and scaler part 16 programming start set-up 16.1 decoder part 16.2 component video part and interrupt mask 16.3 audio clock generation part 16.4 data slicer and data type control part 16.5 scaler and interfaces 17 package outlines 18 soldering 18.1 introduction to soldering surface mount packages 18.2 reflow soldering 18.3 wave soldering 18.4 manual soldering 18.5 suitability of surface mount ic packages for wave and reflow soldering methods 19 data sheet status 20 definitions 21 disclaimers 22 purchase of philips i 2 c components
2004 jul 22 3 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 1 features 1.1 video acquisition/clock ? up to sixteen analog cvbs, split as desired (all of the cvbs inputs optionally can be used to convert e.g. vestigial side band (vsb) signals) ? up to eight analog y + c inputs, split as desired ? up to four analog component inputs, with embedded or separate sync, split as desired ? four on-chip anti-aliasing filters in front of the analog-to-digital converters (adcs) ? automatic clamp control (acc) for cvbs, y and c (or vsb) and component signals ? switchable white peak control ? four 9-bit low noise cmos adcs running at twice the oversampling rate (27 mhz) ? fully programmable static gain or automatic gain control (agc), matching to the particular signal properties ? on-chip line-locked clock generation in accordance with ?itu 601? ? requires only one crystal (32.11 or 24.576 mhz) for all standards ? horizontal and vertical sync detection. 1.2 video decoder ? digital pll for synchronization and clock generation from all standards and non-standard video sources e.g. consumer grade vtr ? automatic detection of any supported colour standard ? luminance and chrominance signal processing for pal b, g, d, h, i and n, combination pal n, pal m, ntsc m, ntsc-japan, ntsc 4.43 and secam ? adaptive 2/4-line comb filter for two dimensional chrominance/luminance separation, also with vtr signals ? increased luminance and chrominance bandwidth for all pal and ntsc standards ? reduced cross colour and cross luminance artefacts ? pal delay line for correcting pal phase errors ? brightness contrast saturation (bcs) adjustment, separately for composite and baseband signals ? user programmable sharpness control ? detection of copy-protected signals according to the macrovision ? (1) standard, indicating level of protection ? independent gain and offset adjustment for raw data path. 1.3 component video processing ? rgb component inputs ? y-p b -p r component inputs ? fast blanking between cvbs and synchronous component inputs ? digital rgb to y-c b -c r matrix. 1.4 video scaler ? horizontal and vertical downscaling and upscaling to randomly sized windows ? horizontal and vertical scaling range: variable zoom to 1 ? 64 (icon) (it should be noted that the h and v zoom are restricted by the transfer data rates) ? anti-alias and accumulating filter for horizontal scaling ? vertical scaling with linear phase interpolation and accumulating filter for anti-aliasing (6-bit phase accuracy) ? horizontal phase correct up and downscaling for improved signal quality of scaled data, especially for compression and video phone applications, with 6-bit phase accuracy (1.2 ns step width) ? two independent programming sets for scaler part, to define two ?ranges? per field or sequences over frames ? fieldwise switching between decoder part and expansion port (x port) input ? brightness, contrast and saturation controls for scaled outputs. 1.5 vertical blanking interval (vbi) data decoder and slicer ? versatile vbi data decoder, slicer, clock regeneration and byte synchronization e.g. for world standard teletext (wst), north american broadcast text system (nabts), closed caption, wide screen signalling (wss), etc. (1) macrovision ? is a registered trademark of the macrovision corporation.
2004 jul 22 4 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 1.6 audio clock generation ? generation of a field-locked audio master clock to support a constant number of audio clocks per video field ? generation of an audio serial and left/right (channel) clock signal. 1.7 digital i/o interfaces ? real-time signal port (r port), inclusive continuous line-locked reference clock and real-time status information supporting rtc level 3.1 (refer to document ?rtc functional specification? for details) ? bidirectional expansion port (x port) with half duplex functionality (d1), 8-bit y-c b -c r : ? output from decoder part, real-time and unscaled ? input to scaler part, e.g. video from mpeg decoder (extension to 16-bit possible) ? video image port (i port) configurable for 8-bit data (extension to 16-bit possible) in master mode (own clock), or slave mode (external clock), with auxiliary timing and handshake signals ? discontinuous data streams supported ? 32-word 4-byte fifo register for video output data ? 28-word 4-byte fifo register for decoded vbi data output ? scaled 4 : 2 : 2, 4 : 1 : 1, 4 : 2 : 0, 4 : 1 : 0 y-c b -c r output ? scaled 8-bit luminance only and raw cvbs data output ? sliced, decoded vbi data output. 1.8 miscellaneous ? power-on control ? 5 v tolerant digital inputs and i/o ports ? software controlled power saving standby modes supported ? programming via serial i 2 c-bus, full read back ability by an external controller, bit rate up to 400 kbit/s ? boundary scan test circuit complies with the ?ieee std. 1149.b1 - 1994? . 2 applications ? pc-video capture and editing ? personal video recorders (time shifting) ? cable, terrestrial, and satellite set-top boxes ? internet terminals ? flat-panel monitors ? dvd recordable players ? av-ready hard-disk drivers ? digital televisions/scan conversion ? video surveillance/security ? video editing/post production ? video phones ? video projectors ? digital vcrs. 3 general description the saa7118 is a video capture device for applications at the image port of vga controllers. philips x-vip is a new multistandard comb filter video decoder chip with additional component processing, providing high quality, optionally scaled, video. the saa7118 is a combination of a four-channel analog preprocessing circuit including source selection, anti-aliasing filter and adc with succeeding decimation filters from 27 to 13.5 mhz data rate. each preprocessing channel comes with an automatic clamp and gain control. the saa7118 combines a clock generation circuit (cgc), a digital multistandard decoder containing two-dimensional chrominance/luminance separation by an adaptive comb filter and a high performance scaler, including variable horizontal and vertical up and downscaling and a brightness, contrast and saturation control circuit.
2004 jul 22 5 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 it is a highly integrated circuit for desktop video and similar applications. the decoder is based on the principle of line-locked clock decoding and is able to decode the colour of pal, secam and ntsc signals into itu 601 compatible colour component values. the saa7118 accepts cvbs or s-video (y/c) as analog inputs from tv or vcr sources, including weak and distorted signals as well as baseband component signals y-p b -p r or rgb. an expansion port (x port) for digital video (bidirectional half duplex, d1 compatible) is also supported to connect to mpeg or a video phone codec. at the so called image port (i port) the saa7118 supports 8 or 16-bit wide output data with auxiliary reference data for interfacing to vga controllers. the target application for the saa7118 is to capture and scale video images, to be provided as a digital video stream through the image port of a vga controller, for capture to system memory, or just to provide digital baseband video to any picture improvement processing. the saa7118 also provides a means for capturing the serially coded data in the vertical blanking interval (vbi data). two principal functions are available: 1. to capture raw video samples, after interpolation to the required output data rate, via the scaler 2. a versatile data slicer (data recovery) unit. the saa7118 also incorporates field-locked audio clock generation. this function ensures that there is always the same number of audio samples associated with a field, or a set of fields. this prevents the loss of synchronization between video and audio during capture or playback. all of the adcs may be used to digitize a vsb signal for subsequent decoding; a dedicated output port and a selectable vsb clock input is provided. the circuit is i 2 c-bus controlled (full write/read capability for all programming registers, bit rate up to 400 kbit/s). 4 quick reference data note 1. power dissipation is measured in component mode (four adcs active) and 8-bit image port output mode, expansion port is 3-stated. 5 ordering information symbol parameter conditions min. typ. max. unit v ddd digital supply voltage 3.0 3.3 3.6 v v ddd(c) digital core supply voltage 3.0 3.3 3.6 v v dda analog supply voltage 3.1 3.3 3.5 v t amb ambient temperature 0 ? 70 c p a+d analog and digital power dissipation note 1 ? 1.1 1.35 w type number package name description version saa7118e bga156 plastic ball grid array package; 156 balls; body 15 15 1.15 mm sot472-1 saa7118h qfp160 plastic quad at package; 160 leads (lead length 1.6 mm); body 28 28 3.4 mm; high stand-off height sot322-2
2004 jul 22 6 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 6 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... 6 block diagram n dbook, full pagewidth mhb724 fast switch delay comb filter saa7118 control first task i 2 c-bus register map scaler second task i 2 c-bus register map scaler scaler event controller components processing i 2 c-bus register map analog1 and adc1 ai13 ai14 ai11 fsw ai12 ai1d ad port analog2 and adc2 ai23 ai24 ai21 ai22 ai2d ai43 ai44 ai41 ai42 ai4d ai33 ai34 ai31 ai32 ai3d analog input control decoder output control output formatter i port analog3 and adc3 igpv igph igp1 igp0 ipd [ 7:0 ] analog4 and adc4 video fifo vertical scaling horizontal fine (phase) scaling line fifo buffer fir-prefilter prescaler bcs-scaler idq itrdy iclk itri aout agnd agnda r g b y synchronization video/text arbiter vbi-data slicer ss raw s y-c b -c r y-c b -c r c b -c r c b -c r y-c b -c r s s lumininance processing power-on control power supply video clock gpo crystal x port audio clock y v ssa v dda v ssd v ddd v ss(xtal) v dd(xtal) llc llc2 rts0 rts1 rtco xtalo xtali h port hpd [ 7:0 ] xtout text fifo amxclk amclk alrclk asclk xrdy xpd [ 7:0 ] xclk xdq xrv xtri xrh clkext adp [ 8:0 ] res dnc0 to dnc5 int_a scl sda ce boundary scan tdo tdi tck tms s y crominance processing c c b c r c b c r raw trst fig.1 block diagram.
2004 jul 22 7 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 7 pinning symbol pin type (1) description qfp160 bga156 dnc6 1 b2 o do not connect, reserved for future extensions and for testing ai41 2 b1 i analog input 41 agnd 3 c2 p analog ground v ssa4 4 c1 p ground for analog inputs ai4x ai42 5 d2 i analog input 42 ai4d 6 d3 i differential input for adc channel 4 (pins ai41 to ai44) ai43 7 d1 i analog input 43 v dda4 8 d4 p analog supply voltage for analog inputs ai4x (3.3 v) v dda4a 9 e2 p analog supply voltage for analog inputs ai4x (3.3 v) ai44 10 e1 i analog input 44 ai31 11 e3 i analog input 31 v ssa3 12 e4 p ground for analog inputs ai3x ai32 13 f2 i analog input 32 ai3d 14 f1 i/o differential input for adc channel 3 (pins ai31 to ai34) ai33 15 f3 i analog input 33 v dda3 16 f4 p analog supply voltage for analog inputs ai3x (3.3 v) v dda3a 17 g2 p analog supply voltage for analog inputs ai3x (3.3 v) ai34 18 g1 i analog input 34 ai21 19 g4 i analog input 21 v ssa2 20 h3 p ground for analog inputs ai2x ai22 21 g3 i analog input 22 ai2d 22 h1 i differential input for adc channel 2 (pins ai24 to ai21) ai23 23 h2 i analog input 23 v dda2 24 h4 p analog supply voltage for analog inputs ai2x (3.3 v) v dda2a 25 j1 p analog supply voltage for analog inputs ai2x (3.3 v) ai24 26 j3 i analog input 24 ai11 27 j2 i analog input 11 v ssa1 28 j4 p ground for analog inputs ai1x ai12 29 k1 i analog input 12 ai1d 30 k3 i differential input for adc channel 1 (pins ai14 to ai11) ai13 31 k2 i analog input 13 v dda1 32 k4 p analog supply voltage for analog inputs ai1x (3.3 v) v dda1a 33 l1 p analog supply voltage for analog inputs ai1x (3.3 v) ai14 34 l3 i analog input 14 agnda 35 l2 p analog signal ground aout 36 m1 o analog test output (do not connect) v dda0 37 m3 p analog supply voltage (3.3 v) for internal clock generation circuit v ssa0 38 m2 p ground for internal clock generation circuit (cgc)
2004 jul 22 8 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 dnc13 39 n1 nc do not connect, reserved for future extensions and for testing dnc14 40 n2 i/pu do not connect, reserved for future extensions and for testing dnc18 41 p2 i/o do not connect, reserved for future extensions and for testing dnc15 42 n3 i/pd do not connect, reserved for future extensions and for testing exmclr 43 p3 i/pd external mode clear (with internal pull-down) ce 44 n4 i/pu chip enable or reset input (with internal pull-up) v ddd1 45 m4 p digital supply voltage 1 (peripheral cells) llc 46 p4 o line-locked system clock output (27 mhz nominal) v ssd1 47 l4 p digital ground 1 (peripheral cells) llc2 48 n5 o line-locked 1 ? 2 clock output (13.5 mhz nominal) res 49 p5 o reset output (active low) v ddd2 50 m5 p digital supply voltage 2 (core) v ssd2 51 l5 p digital ground 2 (core; substrate connection) clkext 52 n6 i external clock input intended for analog-to-digital conversion of vsb signals (36 mhz) adp8 53 p6 o msb of direct analog-to-digital converted output data (vsb) adp7 54 m6 o msb ? 1 of direct analog-to-digital converted output data (vsb) adp6 55 l6 o msb ? 2 of direct analog-to-digital converted output data (vsb) adp5 56 n7 o msb ? 3 of direct analog-to-digital converted output data (vsb) adp4 57 p7 o msb ? 4 of direct analog-to-digital converted output data (vsb) adp3 58 l7 o msb ? 5 of direct analog-to-digital converted output data (vsb) v ddd3 59 m8 p digital supply voltage 3 (peripheral cells) adp2 60 m7 o msb ? 6 of direct analog-to-digital converted output data (vsb) adp1 61 p8 o msb ? 7 of direct analog-to-digital converted output data (vsb) adp0 62 n8 o lsb of direct analog-to-digital converted output data (vsb) v ssd3 63 l8 p digital ground 3 (peripheral cells) int_a 64 p9 o/od i 2 c-bus interrupt ag (low if any enabled status bit has changed) v ddd4 65 m9 p digital supply voltage 4 (core) scl 66 n9 i serial clock input (i 2 c-bus) v ssd4 67 l9 p digital ground 4 (core) sda 68 p10 i/o/od serial data input/output (i 2 c-bus) rts0 69 m10 o real-time status or sync information, controlled by subaddresses 11h and 12h rts1 70 n10 o real-time status or sync information, controlled by subaddresses 11h and 12h rtco 71 l10 o/st/pd real-time control output; contains information about actual system clock frequency, eld rate, odd/even sequence, decoder status, subcarrier frequency and phase and pal sequence (see document ?rtc functional description? , available on request); the rtco pin is enabled via i 2 c-bus bit rtce; see notes 5, 6 and table 36 amclk 72 p11 o audio master clock output, up to 50% of crystal clock symbol pin type (1) description qfp160 bga156
2004 jul 22 9 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 v ddd5 73 m11 p digital supply voltage 5 (peripheral cells) asclk 74 n11 o audio serial clock output alrclk 75 p12 o/st/pd audio left/right clock output; can be strapped to supply via a 3.3 k ? resistor to indicate that the default 24.576 mhz crystal (alrclk = 0; internal pull-down) has been replaced by a 32.110 mhz crystal (alrclk = 1); notes 5 and 7 amxclk 76 m12 i audio master external clock input itrdy 77 n12 i/pu target ready input for image port data dnc0 78 p13 i/pu do not connect, reserved for future extensions and for testing: scan input dnc16 79 n13 nc do not connect, reserved for future extensions and for testing dnc17 80 n14 nc do not connect, reserved for future extensions and for testing dnc19 81 ? nc do not connect, reserved for future extensions and for testing dnc20 82 ? nc do not connect, reserved for future extensions and for testing fsw 83 m13 i/pd fast switch (blanking) with internal pull-down inserts component inputs into cvbs signal iclk 84 m14 i/o clock output signal for image port, or optional asynchronous back-end clock input idq 85 l13 o output data quali er for image port (optional: gated clock output) itri 86 l12 i/(o) image port output control signal, affects all input port pins inclusive iclk, enable and active polarity is under software control (bits ipe in subaddress 87h); output path used for testing: scan output igp0 87 l14 o general purpose output signal 0; image port (controlled by subaddresses 84h and 85h) v ssd5 88 l11 p digital ground 5 (peripheral cells) igp1 89 k13 o general purpose output signal 1; image port (controlled by subaddresses 84h and 85h) igpv 90 k14 o multi purpose vertical reference output signal; image port (controlled by subaddresses 84h and 85h) igph 91 k12 o multi purpose horizontal reference output signal; image port (controlled by subaddresses 84h and 85h) ipd7 92 k11 o msb of image port data output ipd6 93 j13 o msb ? 1 of image port data output ipd5 94 j14 o msb ? 2 of image port data output v ddd6 95 j12 p digital supply voltage 6 (core) v ssd6 96 j11 p digital ground 6 (core) ipd4 97 h13 o msb ? 3 of image port data output ipd3 98 h14 o msb ? 4 of image port data output ipd2 99 h11 o msb ? 5 of image port data output ipd1 100 g12 o msb ? 6 of image port data output v ddd7 101 h12 p digital supply voltage 7 (peripheral cells) ipd0 102 g14 o lsb of image port data output symbol pin type (1) description qfp160 bga156
2004 jul 22 10 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 hpd7 103 g13 i/o msb of host port data i/o, extended c b -c r input for expansion port, extended c b -c r output for image port v ssd7 104 g11 p digital ground 7 (peripheral cells) hpd6 105 f14 i/o msb ? 1 of host port data i/o, extended c b -c r input for expansion port, extended c b -c r output for image port v ddd8 106 f12 p digital supply voltage 8 (core) hpd5 107 f13 i/o msb ? 2 of host port data i/o, extended c b -c r input for expansion port, extended c b -c r output for image port v ssd8 108 f11 p digital ground 8 (core) hpd4 109 e14 i/o msb ? 3 of host port data i/o, extended c b -c r input for expansion port, extended c b -c r output for image port hpd3 110 e12 i/o msb ? 4 of host port data i/o, extended c b -c r input for expansion port, extended c b -c r output for image port hpd2 111 e13 i/o msb ? 5 of host port data i/o, extended c b -c r input for expansion port, extended c b -c r output for image port hpd1 112 e11 i/o msb ? 6 of host port data i/o, extended c b -c r input for expansion port, extended c b -c r output for image port hpd0 113 d14 i/o lsb of host port data i/o, extended c b -c r input for expansion port, extended c b -c r output for image port v ddd9 114 d12 p digital supply voltage 9 (peripheral cells) dnc1 115 d13 i/pu do not connect, reserved for future extensions and for testing: scan input dnc2 116 c14 i/pu do not connect, reserved for future extensions and for testing: scan input dnc7 117 b13 nc do not connect, reserved for future extensions and for testing dnc8 118 b14 nc do not connect, reserved for future extensions and for testing dnc11 119 c12 nc do not connect, reserved for future extensions and for testing dnc12 120 c13 nc do not connect, reserved for future extensions and for testing dnc21 121 ? nc do not connect, reserved for future extensions and for testing dnc22 122 ? nc do not connect, reserved for future extensions and for testing dnc3 123 a13 i/pu do not connect, reserved for future extensions and for testing: scan input dnc4 124 b12 o do not connect, reserved for future extensions and for testing: scan output dnc5 125 a12 i/pu do not connect, reserved for future extensions and for testing: scan input xtri 126 b11 i x port output control signal, affects all x port pins (xpd7 to xpd0, xrh, xrv, xdq and xclk), enable and active polarity is under software control (bits xpe in subaddress 83h) xpd7 127 c11 i/o msb of expansion port data xpd6 128 a11 i/o msb ? 1 of expansion port data v ssd9 129 d11 p digital ground 9 (peripheral cells) xpd5 130 b10 i/o msb ? 2 of expansion port data xpd4 131 a10 i/o msb ? 3 of expansion port data v ddd10 132 c10 p digital supply voltage 10 (core) v ssd10 133 d10 p digital ground 10 (core) symbol pin type (1) description qfp160 bga156
2004 jul 22 11 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 notes 1. i = input, o = output, p = power, nc = not connected, st = strapping, pu = pull-up, pd = pull-down, od = open-drain. 2. in accordance with the ?ieee1149.1? standard the pads tdi, tms, tck and trst are input pads with an internal pull-up transistor and tdo is a 3-state output pad. 3. for board design without boundary scan implementation connect the trst pin to ground. 4. this pin provides easy initialization of the boundary scan test (bst) circuit. trst can be used to force the test access port (tap) controller to the test_logic_reset state (normal operation) at once. 5. pin strapping is done by connecting the pin to the supply via a 3.3 k ? resistor. during the power-up reset sequence the corresponding pins are switched to input mode to read the strapping level. for the default setting no strapping resistor is necessary (internal pull-down). xpd3 134 b9 i/o msb ? 4 of expansion port data xpd2 135 a9 i/o msb ? 5 of expansion port data v ddd11 136 c9 p digital supply voltage 11 (peripheral cells) v ssd11 137 d9 p digital ground 11 (peripheral cells) xpd1 138 b8 i/o msb ? 6 of expansion port data xpd0 139 a8 i/o lsb of expansion port data xrv 140 d8 i/o vertical reference i/o expansion port xrh 141 c7 i/o horizontal reference i/o expansion port v ddd12 142 c8 p digital supply voltage 12 (core) xclk 143 a7 i/o clock i/o expansion port xdq 144 b7 i/o data quali er for expansion port v ssd12 145 d7 p digital ground 12 (core) xrdy 146 a6 o task ag or ready signal from scaler, controlled by xrqt trst 147 c6 i/pu test reset input (active low), for boundary scan test (with internal pull-up); notes 2, 3 and 4 tck 148 b6 i/pu test clock for boundary scan test; note 2 tms 149 d6 i/pu test mode select input for boundary scan test or scan test; note 2 tdo 150 a5 o test data output for boundary scan test; note 2 v ddd13 151 c5 p digital supply voltage 13 (peripheral cells) tdi 152 b5 i/pu test data input for boundary scan test; note 2 v ssd13 153 d5 p digital ground 13 (peripheral cells) v ss(xtal) 154 a4 p ground for crystal oscillator xtali 155 b4 i input terminal for 24.576 mhz (32.11 mhz) crystal oscillator or connection of external oscillator with ttl compatible square wave clock signal xtalo 156 a3 o 24.576 mhz (32.11 mhz) crystal oscillator output; not connected if ttl clock input of xtali is used v dd(xtal) 157 b3 p supply voltage for crystal oscillator xtout 158 a2 o crystal oscillator output signal; auxiliary signal dnc9 159 c3 nc do not connect, reserved for future extensions and for testing dnc10 160 c4 nc do not connect, reserved for future extensions and for testing symbol pin type (1) description qfp160 bga156
2004 jul 22 12 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 6. pin rtco operates as i 2 c-bus slave address pin; rtco = 0 slave address 42h/43h (default); rtco = 1 slave address 40h/41h. 7. pin alrclk: 0 = 24.576 mhz crystal (default); 1 = 32.110 mhz crystal. handbook, full pagewidth mhc564 saa7118h 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 dnc6 ai41 agnd v ssa4 ai42 ai4d ai43 v dda4 v dda4a ai44 ai31 v ssa3 ai32 ai3d ai33 v dda3 v dda3a ai34 ai21 v ssa2 ai22 ai2d ai23 v dda2 v dda2a ai24 ai11 v ssa1 ai12 ai1d ai13 v dda1 v dda1a ai14 agnda aout v dda0 v ssa0 dnc13 dnc14 dnc12 dnc11 dnc8 dnc7 dnc2 dnc1 v ddd9 hpd0 hpd1 hpd2 hpd3 hpd4 v ssd8 hpd5 v ddd8 hpd6 v ssd7 hpd7 ipd0 v ddd7 ipd1 ipd2 ipd3 ipd4 v ssd6 v ddd6 ipd5 ipd6 ipd7 igph igpv igp1 v ssd5 igp0 itri idq iclk fsw dnc20 dnc19 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 dnc10 dnc9 xtout v dd(xtal) xtalo xtali v ss(xtal) v ssd13 tdi v ddd13 tdo tms tck trst xrdy v ssd12 xdq xclk v ddd12 xrh xrv xpd0 xpd1 v ssd11 v ddd11 xpd2 xpd3 v ssd10 v ddd10 xpd4 xpd5 v ssd9 xpd6 xpd7 xtri dnc5 dnc4 dnc3 dnc22 dnc21 dnc18 dnc15 exmclr ce v ddd1 llc v ssd1 llc2 res v ddd2 v ssd2 clkext adp8 adp7 adp6 adp5 adp4 adp3 v ddd3 adp2 adp1 adp0 v ssd3 int_a v ddd4 scl v ssd4 sda rts0 rts1 rtco amclk v ddd5 asclk alrclk amxclk itrdy dnc0 dnc16 dnc17 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 fig.2 pin configuration (qfp160).
2004 jul 22 13 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, halfpage 1 a b c d e f g h j k l m n p 2 3 4 5 6 7 8 9 10 11 12 13 14 mhb725 saa7118e fig.3 pin configuration (bga156).
2004 jul 22 14 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 14 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... table 1 pin assignment (top view) 1234567891011121314 a xtout xtalo v ss(xtal) tdo xrdy xclk xpd0 xpd2 xpd4 xpd6 test1 test2 b ai41 test3 v dd(xtal) xtali tdi tck xdq xpd1 xpd3 xpd5 xtri test4 test5 test6 c v ssa4 agnd test7 test8 v ddd13 trst xrh v ddd12 v ddd11 v ddd10 xpd7 test9 test10 test11 d ai43 ai42 ai4d v dda4 v ssd13 tms v ssd12 xrv v ssd11 v ssd10 v ssd9 v ddd9 test12 hpd0 e ai44 v dda4a ai31 v ssa3 hpd1 hpd3 hpd2 hpd4 f ai3d ai32 ai33 v dda3 v ssd8 v ddd8 hpd5 hpd6 g ai34 v dda3a ai22 ai21 v ssd7 ipd1 hpd7 ipd0 h ai2d ai23 v ssa2 v dda2 ipd2 v ddd7 ipd4 ipd3 j v dda2a ai11 ai24 v ssa1 v ssd6 v ddd6 ipd6 ipd5 k ai12 ai13 ai1d v dda1 ipd7 igph igp1 igpv l v dda1a agnda ai14 v ssd1 v ssd2 adp6 adp3 v ssd3 v ssd4 rtco v ssd5 itri idq igp0 m aout v ssa0 v dda0 v ddd1 v ddd2 adp7 adp2 v ddd3 v ddd4 rts0 v ddd5 amxclk fsw iclk n test13 test14 test15 ce llc2 clkext adp5 adp0 scl rts1 asclk itrdy test16 test17 p test18 exmclr llc res adp8 adp4 adp1 int_a sda amclk alrclk test19
2004 jul 22 15 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 15 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... table 2 8-bit/16-bit and alternative pin function con gurations pin (1) symbol 8-bit input modes 16-bit input modes (only for i 2 c-bus programming) alternative input functions 8-bit output modes 16-bit output modes (only for i 2 c-bus programming) alternative output functions i/o configuration programming bits c11, a11, b10, a10, b9, a9, b8, a8 (127, 128, 130, 131, 134, 135, 138, 139) xpd7 to xpd0 d1 data input y data input d1 decoder output xcode[92h[3]] xpe[1:0] 83h[1:0] + pin xtri a7 (143) xclk clock input gated clock input decoder clock output xpe[1:0] 83h[1:0] + pin xtri xpck[1:0] 83h[5:4] xcks[92h[0]] b7 (144) xdq data quali er input data quali er output (href and vref gate) xdq[92h[1]] xpe[1:0] 83h[1:0] + pin xtri a6 (146) xrdy input ready output active task a/b ag xrqt[83h[2]] xpe[1:0] 83h[1:0] + pin xtri c7 (141) xrh horizontal reference input decoder horizontal reference output xdh[92h[2]] xpe[1:0] 83h[1:0] + pin xtri d8 (140) xrv vertical reference input decoder vertical reference output xdv[1:0] 92h[5:4] xpe[1:0] 83h[1:0] + pin xtri b11 (126) xtri output enable input xpe[1:0] 83h[1:0]
2004 jul 22 16 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 16 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... g13, f14, f13, e14, e12, e13, e11, d14 (103, 105, 107, 109 to 113) hpd7 to hpd0 c b -c r data input c b -c r scaler output icode[93h[7]] iswp[1:0] 85h[7:6] i8_16[93h[6]] ipe[1:0] 87h[1:0] + pin itri k11, j13, j14, h13, h14, h11, g12, g14 (92 to 94, 97 to 99, 100, 102) ipd7 to ipd0 d1 scaler output y scaler output icode[93h[7]] iswp[1:0] 85h[7:6] i8_16[93h[6]] ipe[1:0] 87h[1:0] + pin itri m14 (84) iclk clock output clock input icks[1:0] 80h[1:0] ipe[1:0] 87h[1:0] + pin itri l13 (85) idq data quali er output gated clock output icks[3:2] 80h[3:2] idqp[85h[0]] ipe[1:0] 87h[1:0] + pin itri n12 (77) itrdy target ready input k12 (91) igph h gate output extended h gate, horizontal pulses idh[1:0] 84h[1:0] irhp[85h[1]] ipe[1:0] 87h[1:0] + pin itri pin (1) symbol 8-bit input modes 16-bit input modes (only for i 2 c-bus programming) alternative input functions 8-bit output modes 16-bit output modes (only for i 2 c-bus programming) alternative output functions i/o configuration programming bits
2004 jul 22 17 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 17 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... note 1. pin numbers for qfp160 in parenthesis. k14 (90) igpv v gate output v-sync, vertical pulses idv[1:0] 84h[3:2] irvp[85h[2]] ipe[1:0] 87h[1:0] + pin itri k13 (89) igp1 general purpose idg1[1:0] 84h[5:4] ig1p[85h[3]] ipe[1:0] 87h[1:0] + pin itri l14 (87) igp0 general purpose idg0[1:0] 84h[7:6] ig0p[85h[4]] ipe[1:0] 87h[1:0] + pin itri l12 (86) itri output enable input pin (1) symbol 8-bit input modes 16-bit input modes (only for i 2 c-bus programming) alternative input functions 8-bit output modes 16-bit output modes (only for i 2 c-bus programming) alternative output functions i/o configuration programming bits
2004 jul 22 18 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8 functional description 8.1 decoder 8.1.1 a nalog input processing the saa7118 offers sixteen analog signal inputs, four analog main channels with source switch, clamp circuit, analog amplifier, anti-alias filter and video 9-bit cmos adc with a decimation filter (df); see figs 5 and 8. the anti-alias filters are adapted to the line-locked clock frequency via a filter control circuit. the characteristic is shown in fig.4. during the vertical blanking period gain and clamping control are frozen. 6 v (db) ? 42 024 68101214 f (mhz) mgd138 ? 6 ? 12 ? 18 ? 24 ? 30 ? 36 0 fig.4 anti-alias filter.
2004 jul 22 19 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, full pagewidth 14 6 ? 48 02 16 ? 18 ? 12 ? 6 0 ? 42 ? 36 ? 30 ? 24 5 3 479 813 12 10 11 f (mhz) g (db) mbl753 fig.5 decimation filter.
2004 jul 22 20 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.1.1.1 clamping the clamp control circuit controls the correct clamping of the analog input signals. the coupling capacitor is also used to store and filter the clamping voltage. an internal digital clamp comparator generates the information with respect to clamp-up or clamp-down. the clamping levels for the four adc channels are fixed for luminance (120), chrominance (256) and for component inputs as component y (32), components p b and p r (256) or components rgb (32). clamping time in normal use is set with the hcl pulse on the back porch of the video signal. 8.1.1.2 gain control the gain control circuit receives (via the i 2 c-bus) the static gain levels for the four analog amplifiers or controls one of these amplifiers automatically via a built-in automatic gain control (agc) as part of the analog input control (aico). the agc (automatic gain control for luminance) is used to amplify a cvbs or y signal to the required signal amplitude, matched to the adcs input voltage range. component inputs are gain adjusted manually at a fixed gain. the agc active time is the sync bottom of the video signal. signal (white) peak control limits the gain at signal overshoots. the flow charts (see figs 9 and 10) show more details of the agc. the influence of supply voltage variation within the specified range is automatically eliminated by clamp and automatic gain control. handbook, halfpage hcl mhb726 hsy analog line blanking tv line 1 120 511 gain clamp fig.6 analog line with clamp (hcl) and gain range (hsy). fig.7 automatic gain range. analog input level controlled adc input level maximum minimum range 9 db 0 db 0 db mhb325 + 3 db ? 6 db (1 v (p-p) 18/56 ? )
2004 jul 22 21 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, full pagewidth holdg gafix wpoff gudl [ 1:0 ] gai [ 48:40 ] gai [ 38:30 ] hlnrs uptcv refa mode [ 5:0 ] hsy hcl glimb glimt wipa sltca analog control vbsl source switch clamp circuit analog amplifier dac9 anti-alias filter bypass switch adc2 source switch clamp circuit analog amplifier dac9 anti-alias filter bypass switch adc1 vblnk svref cross multiplexer vertical blanking control clamp control gain control anti-alias control mode control fuse [ 1:0 ] fuse [ 1:0 ] aosl [ 2:0 ] chroma cvbs/y 99 ad1/3byp ad2/4byp 99 99 b/b - y 9 g/y 9 r/r - y 9 aout ai12 ai11 ai14 ai13 ai1d ai22 ai21 ai24 ai23 ai2d test selector and buffer source switch clamp circuit analog amplifier dac9 anti-alias filter bypass switch adc3 fuse [ 1:0 ] 9 ai32 ai31 ai34 ai33 ai3d source switch clamp circuit analog amplifier dac9 anti-alias filter bypass switch adc4 fuse [ 1:0 ] 9 ai42 ai41 ai44 ai43 ai4d dosl [ 1:0 ] adp [ 8:0 ] digital test selector df df df df adpe mbl758 fig.8 analog input processing using the saa7118 as differential front-end with 9-bit adc.
2004 jul 22 22 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, full pagewidth analog input amplifier anti-alias filter adc luma/chroma decoder x hsy > 510 > 510 < 1 < 4 > 496 x = 0 x = 1 ? 1/llc2 + 1/llc2 ? 1/llc2 + / ? 0 + 1/f + 1/l gain accumulator (18 bits) actual gain value 9-bit (agv) [ ? 3/ + 6 db ] x stop hsy y update fgv mhb728 agv gain value 9-bit 1 0 1 0 10 1 0 1 0 1 0 10 1 0 0 1 1 0 1 0 vblk 1 0 no action 9 9 dac gain holdg fig.9 gain flow chart. x = system variable. . gudl = gain update level (adjustable). vblk = vertical blanking pulse. hsy = horizontal sync pulse. agv = actual gain value. fgv = frozen gain value. y agv fgv ? gudl > =
2004 jul 22 23 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 fig.10 clamp and gain flow chart. wipe = white peak level (510). sbot = sync bottom level (1). cll = clamp level [120 for cvbs, y(c), s; 256 for c(y), p b -p r ; 32 for rgb, y]. hsy = horizontal sync pulse. hcl = horizontal clamp pulse. 10 + clamp ? clamp no clamp 10 10 01 10 mgc647 fast ? gain slow + gain + gain ? gain hcl hsy adc sbot wipe cll analog input gain -> <- clamp vblk no blanking active 10
2004 jul 22 24 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 24 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... 8.1.2 c hrominance and luminance processing n dbook, full pagewidth mhb729 cvbs-in or chr-in code secs huec dcvf quadrature demodulator pal delay line secam recombination phase demodulator amplitude detector burst gate accumulator loop filter low-pass 1 downsampling subcarrier generation 2 fctc acgc cgain [ 6:0 ] idel [ 3:0 ] incs rtco c b -c r  adjustment secam processing f h /2 switch signal adaptive comb filter ccomb ycomb ldel byps lufi [ 3:0 ] cstd [ 2:0 ] ydel [ 2:0 ] low-pass 2 chbw chroma gain control c b -c r interpolation low-pass 3 lubw c b -c r quadrature modulator cdto cstd [ 2:0 ] subcarrier generation 1 chrominance increment dto reset subcarrier increment generation and divider chrominance increment delay ldel ycomb c b -c r subtractor delay compensation cvbs-in or y-in chr luminance-peaking or low-pass, y-delay adjustment lcbw [ 2:0 ] y y/cvbs dbri [ 7:0 ] dcon [ 7:0 ] dsat [ 7:0 ] rawg [ 7:0 ] rawo [ 7:0 ] colo brightness contrast saturation control raw data gain and offset control ldel ycomb y-out/ cvbs out c b -c r -out href-out set_raw set_vbi set_raw set_vbi set_raw set_vbi set_raw set_vbi c b -c r fig.11 chrominance and luminance processing.
2004 jul 22 25 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.1.2.1 chrominance path the 9-bit cvbs or chrominance input signal is fed to the input of a quadrature demodulator, where it is multiplied by two time-multiplexed subcarrier signals from the subcarrier generation block 1 (0 and 90 phase relationship to the demodulator axis). the frequency is dependent on the chosen colour standard. the time-multiplexed output signals of the multipliers are low-pass filtered (low-pass 1). eight characteristics are programmable via lcwb3 to lcwb0 to achieve the desired bandwidth for the colour difference signals (pal, ntsc) or the 0 and 90 fm signals (secam). the chrominance low-pass 1 characteristic also influences the grade of cross-luminance reduction during horizontal colour transients (large chrominance bandwidth means strong suppression of cross-luminance). if the y-comb filter is disabled by ycomb = 0 the filter influences directly the width of the chrominance notch within the luminance path (a large chrominance bandwidth means wide chrominance notch resulting in a lower luminance bandwidth). the low-pass filtered signals are fed to the adaptive comb filter block. the chrominance components are separated from the luminance via a two-line vertical stage (four lines for pal standards) and a decision logic between the filtered and the non-filtered output signals. this block is bypassed for secam signals. the comb filter logic can be enabled independently for the succeeding luminance and chrominance processing by ycomb (subaddress 09h, bit d6) and/or ccomb (subaddress 0eh, bit d0). it is always bypassed during vbi or raw data lines programmable by the lcrn registers (subaddresses 41h to 57h); see section 8.3. the separated c b -c r components are further processed by a second filter stage (low-pass 2) to modify the chrominance bandwidth without influencing the luminance path. its characteristic is controlled by chbw (subaddress 10h, bit d3). for the complete transfer characteristic of low-passes 1 and 2 see figs 12 and 13. the secam processing (bypassed for qam standards) contains the following blocks: ? baseband ?bell? filters to reconstruct the amplitude and phase equalized 0 and 90 fm signals ? phase demodulator and differentiator (fm-demodulation) ? de-emphasis filter to compensate the pre-emphasized input signal, including frequency offset compensation (db or dr white carrier values are subtracted from the signal, controlled by the secam switch signal). the succeeding chrominance gain control block amplifies or attenuates the c b -c r signal according to the required itu 601/656 levels. it is controlled by the output signal from the amplitude detection circuit within the burst processing block. the burst processing block provides the feedback loop of the chrominance pll and contains the following: ? burst gate accumulator ? colour identification and colour killer ? comparison nominal/actual burst amplitude (pal/ntsc standards only) ? loop filter chrominance gain control (pal/ntsc standards only) ? loop filter chrominance pll (only active for pal/ntsc standards) ? pal/secam sequence detection, h/2-switch generation. the increment generation circuit produces the discrete time oscillator (dto) increment for both subcarrier generation blocks. it contains a division by the increment of the line-locked clock generator to create a stable phase-locked sine signal under all conditions (e.g. for non-standard signals). the pal delay line block eliminates crosstalk between the chrominance channels in accordance with the pal standard requirements. for ntsc colour standards the delay line can be used as an additional vertical filter. if desired, it can be switched off by dcvf = 1. it is always disabled during vbi or raw data lines programmable by the lcrn registers (subaddresses 41h to 57h); see section 8.3. the embedded line delay is also used for secam recombination (cross-over switches).
2004 jul 22 26 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 mhb533 ? 60 ? 57 ? 54 ? 51 ? 48 ? 45 ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 3 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 v (db) f (mhz) ? 60 ? 57 ? 54 ? 51 ? 48 ? 45 ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 3 v (db) 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 f (mhz) (1) (2) (3) (4) (5) (6) (7) (8) fig.12 transfer characteristics of the chrominance low-pass at chbw = 0. (1) lcbw[2:0] = 000. (2) lcbw[2:0] = 010. (3) lcbw[2:0] = 100. (4) lcbw[2:0] = 110. (5) lcbw[2:0] = 001. (6) lcbw[2:0] = 011. (7) lcbw[2:0] = 101. (8) lcbw[2:0] = 111.
2004 jul 22 27 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 mhb534 ? 60 ? 57 ? 54 ? 51 ? 48 ? 45 ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 3 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 v (db) f (mhz) ? 60 ? 57 ? 54 ? 51 ? 48 ? 45 ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 3 v (db) 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 f (mhz) (1) (2) (3) (4) (5) (6) (7) (8) fig.13 transfer characteristics of the chrominance low-pass at chbw = 1. (1) lcbw[2:0] = 000. (2) lcbw[2:0] = 010. (3) lcbw[2:0] = 100. (4) lcbw[2:0] = 110. (5) lcbw[2:0] = 001. (6) lcbw[2:0] = 011. (7) lcbw[2:0] = 101. (8) lcbw[2:0] = 111.
2004 jul 22 28 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.1.2.2 luminance path the rejection of the chrominance components within the 9-bit cvbs or y input signal is achieved by subtracting the remodulated chrominance signal from the cvbs input. the comb filtered c b -c r components are interpolated (upsampled) by the low-pass 3 block. its characteristic is controlled by lubw (subaddress 09h, bit d4) to modify the width of the chrominance ?notch? without influencing the chrominance path. the programmable frequency characteristics available, in conjunction with the lcbw2 to lcbw0 settings, can be seen in figs 14 to 17. it should be noted that these frequency curves are only valid for y-comb disabled filter mode (ycomb = 0). in comb filter mode the frequency response is flat. the centre frequency of the notch is automatically adapted to the chosen colour standard. the interpolated c b -c r samples are multiplied by two time-multiplexed subcarrier signals from the subcarrier generation block 2. this second dto is locked to the first subcarrier generator by an increment delay circuit matched to the processing delay, which is different for pal and ntsc standards according to the chosen comb filter algorithm. the two modulated signals are finally added to build the remodulated chrominance signal. the frequency characteristic of the separated luminance signal can be further modified by the succeeding luminance filter block. it can be configured as peaking (resolution enhancement) or low-pass block by lufi3 to lufi0 (subaddress 09h, bits d3 to d0). the 16 resulting frequency characteristics can be seen in fig.18. the lufi3 to lufi0 settings can be used as a user programmable sharpness control. the luminance filter block also contains the adjustable y-delay part; programmable by ydel2 to ydel0 (subaddress 11h, bits d2 to d0).
2004 jul 22 29 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 mhb535 ? 60 ? 57 ? 54 ? 51 ? 48 ? 45 ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 3 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 4.2 4.4 4.6 4.8 5.0 v (db) f (mhz) ? 60 ? 57 ? 54 ? 51 ? 48 ? 45 ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 3 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 4.2 4.4 4.6 4.8 5.0 v (db) f (mhz) (5) (6) (7) (8) (1) (2) (3) (4) fig.14 transfer characteristics of the luminance notch filter in 3.58 mhz mode (y-comb filter disabled) at lubw = 0. (1) lcbw[2:0] = 000. (2) lcbw[2:0] = 010. (3) lcbw[2:0] = 100. (4) lcbw[2:0] = 110. (5) lcbw[2:0] = 001. (6) lcbw[2:0] = 011. (7) lcbw[2:0] = 101. (8) lcbw[2:0] = 111.
2004 jul 22 30 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 mhb536 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 4.2 4.4 4.6 4.8 5.0 ? 60 ? 57 ? 54 ? 51 ? 48 ? 45 ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 3 v (db) f (mhz) ? 60 ? 57 ? 54 ? 51 ? 48 ? 45 ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 3 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 4.2 4.4 4.6 4.8 5.0 v (db) f (mhz) (5) (6) (7) (8) (1) (2) (3) (4) fig.15 transfer characteristics of the luminance notch filter in 3.58 mhz mode (y-comb filter disabled) at lubw = 1. (1) lcbw[2:0] = 000 (2) lcbw[2:0] = 010 (3) lcbw[2:0] = 100 (4) lcbw[2:0] = 110 (5) lcbw[2:0] = 001 (6) lcbw[2:0] = 011 (7) lcbw[2:0] = 101 (8) lcbw[2:0] = 111
2004 jul 22 31 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 mhb537 ? 60 ? 57 ? 54 ? 51 ? 48 ? 45 ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 3 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 4.2 4.4 4.6 4.8 5.0 v (db) f (mhz) ? 60 ? 57 ? 54 ? 51 ? 48 ? 45 ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 3 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 4.2 4.4 4.6 4.8 5.0 v (db) f (mhz) (5) (6) (7) (8) (1) (2) (3) (4) fig.16 transfer characteristics of the luminance notch filter in 4.43 mhz mode (y-comb filter disabled) at lubw = 0. (1) lcbw[2:0] = 000. (2) lcbw[2:0] = 010. (3) lcbw[2:0] = 100. (4) lcbw[2:0] = 110. (5) lcbw[2:0] = 001. (6) lcbw[2:0] = 011. (7) lcbw[2:0] = 101. (8) lcbw[2:0] = 111.
2004 jul 22 32 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 mhb538 ? 60 ? 57 ? 54 ? 51 ? 48 ? 45 ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 3 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 4.2 4.4 4.6 4.8 5.0 v (db) f (mhz) ? 60 ? 57 ? 54 ? 51 ? 48 ? 45 ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 3 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 4.2 4.4 4.6 4.8 5.0 v (db) f (mhz) (5) (6) (7) (8) (1) (2) (3) (4) fig.17 transfer characteristics of the luminance notch filter in 4.43 mhz mode (y-comb filter disabled) at lubw = 1. (1) lcbw[2:0] = 000. (2) lcbw[2:0] = 010. (3) lcbw[2:0] = 100. (4) lcbw[2:0] = 110. (5) lcbw[2:0] = 001. (6) lcbw[2:0] = 011. (7) lcbw[2:0] = 101. (8) lcbw[2:0] = 111.
2004 jul 22 33 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 mhb539 ? 1 0 1 2 3 4 5 6 7 8 9 v (db) v (db) f (mhz) 0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 f (mhz) 0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 (8) (7) (6) (5) (4) (3) (2) (1) (9) (10) (11) (12) (13) (14) (15) (16) ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 3 fig.18 transfer characteristics of the luminance peaking/low-pass filter (sharpness). (1) lufi[3:0] = 0001. (2) lufi[3:0] = 0010. (3) lufi[3:0] = 0011. (4) lufi[3:0] = 0100. (5) lufi[3:0] = 0101. (6) lufi[3:0] = 0110. (7) lufi[3:0] = 0111. (8) lufi[3:0] = 0000. (9) lufi[3:0] = 1000. (10) lufi[3:0] = 1001. (11) lufi[3:0] = 1010. (12) lufi[3:0] = 1011. (13) lufi[3:0] = 1100. (14) lufi[3:0] = 1101. (15) lufi[3:0] = 1110. (16) lufi[3:0] = 1111.
2004 jul 22 34 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.1.2.3 brightness contrast saturation (bcs) control and decoder output levels the resulting y (cvbs) and c b -c r signals are fed to the bcs block, which contains the following functions: ? chrominance saturation control by dsat7 to dsat0 ? luminance contrast and brightness control by dcon7 to dcon0 and dbri7 to dbri0 ? raw data (cvbs) gain and offset adjustment by rawg7 to rawg0 and rawo7 to rawo0 ? limiting y-c b -c r or cvbs to the values 1 (minimum) and 254 (maximum) to fulfil ?itu recommendation 601/656? . handbook, full pagewidth luminance 100% + 255 + 235 + 128 + 16 0 white black c b -component + 255 + 240 + 212 + 212 + 128 + 16 + 44 0 blue 100% blue 75% yellow 75% yellow 100% colourless c r -component + 255 + 240 + 128 + 16 + 44 0 red 100% red 75% cyan 75% cyan 100% colourless mhb730 fig.19 y-c b -c r range for scaler input and x port output. ?itu recommendation 601/656? digital levels with default bcs (decoder) settings dcon[7:0] = 44h, dbri[7:0] = 80h and dsat[7:0] = 40h. equations for modification to the y-c b -c r levels via bcs control i 2 c-bus bytes dbri, dcon and dsat. luminance: chrominance: it should be noted that the resulting levels are limited to 1 to 254 in accordance with ?itu recommendation 601/656? . y out int dcon 68 ----------------- y 128 ? () dbri + = c r c b () out int dsat 64 --------------- - c r c b , 128 ? () 128 + = a. y output range. b. c b output range. c. c r output range.
2004 jul 22 35 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 fig.20 cvbs (raw data) range for scaler input, data slicer and x port output. cvbs levels with default settings rawg[7:0] = 64 and rawo[7:0] = 128. equation for modification of the raw data levels via bytes rawg and rawo: it should be noted that the resulting levels are limited to 1 to 254 in accordance with ? itu recommendation 601/656? . cvbs out int rawg 64 ------------------ cvbs nom 128 ? () rawo + = luminance + 255 + 209 + 71 + 60 1 white sync bottom black shoulder black sync luminance + 255 + 199 + 60 1 white sync bottom black shoulder = black sync mgd700 a. sources containing 7.5 ire black level offset (e.g. ntsc m). b. sources not containing black level offset. 8.1.3 s ynchronization the prefiltered luminance signal is fed to the synchronization stage. its bandwidth is further reduced to 1 mhz in a low-pass filter. the sync pulses are sliced and fed to the phase detectors where they are compared with the sub-divided clock frequency. the resulting output signal is applied to the loop filter to accumulate all phase deviations. internal signals (e.g. hcl and hsy) are generated in accordance with analog front-end requirements. the loop filter signal drives an oscillator to generate the line frequency control signal lfco; see fig.21. the detection of ?pseudo syncs? as part of the macrovision copy protection standard is also achieved within the synchronization circuit. the result is reported as flag copro within the decoder status byte at subaddress 1fh.
2004 jul 22 36 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.1.4 c lock generation circuit the internal cgc generates all clock signals required for the video input processor. the internal signal lfco is a digital-to-analog converted signal provided by the horizontal pll. it is the multiple of the line frequency: 6.75 mhz = 429 f h (50 hz), or 6.75 mhz = 432 f h (60 hz). the lfco signal is multiplied by a factor of 2 and 4 in the internal pll circuit (including phase detector, loop filtering, vco and frequency divider) to obtain the output clock signals. the rectangular output clocks have a 50% duty factor. table 3 decoder clock frequencies clock frequency (mhz) xtalo 24.576 or 32.110 llc 27 llc2 13.5 llc4 (internal) 6.75 llc8 (virtual) 3.375 fig.21 block diagram of the clock generation circuit. band pass fc = llc/4 zero cross detection phase detection loop filter divider 1/2 divider 1/2 oscillator mhb330 llc2 llc lfco 8.1.5 p ower - on reset and c hip e nable (ce) input a missing clock, insufficient digital or analog v dda0 supply voltages (below 2.8 v) will start the reset sequence; all outputs are forced to 3-state (see fig.22). the indicator output res is low for approximately 128 llc after the internal reset and can be applied to reset other circuits of the digital tv system. it is possible to force a reset by pulling the chip enable pin (ce) to ground. after the rising edge of ce and sufficient power supply voltage, the outputs llc, llc2 and sda return from 3-state to active, while the other signals have to be activated via programming.
2004 jul 22 37 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 fig.22 power-on control circuit. poc = power-on control. ce = chip enable input. xtalo = crystal oscillator output. llcint = internal system clock. resint = internal reset. llc = line-locked clock output. res = reset output. mhb331 128 lcc 896 lcc digital delay some ms 20 to 200 s pll-delay < 1 ms res (internal reset) llc resint llcint xtalo ce poc v dda poc logic analog poc v ddd digital poc delay clock pll ce llc clk0 resint res
2004 jul 22 38 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.2 component video processing handbook, full pagewidth mhb731 fsw delay fsw y down fomatter and bcs and component delay c b c r bcs g/y rgb/y-c b -c r matrix b/c b r/c r bypass mixer y c b -c r y to x-port c b -c r y-c b -c r decoder fig.23 component video processing. 8.2.1 rgb- to -(y-c b -c r ) matrix the matrix converts the rgb signals from the analog-to-digital converters/downsamplers to the y-c b -c r representation. the input and output word widths are 9 bits. the matrix has a gain factor of 1. the block provides a delay compensated bypass for component input signals. the matrix is represented by the following equations: y = 0.299 r + 0.587 g + 0.114 b c b = 0.5772 (b ? y) c r = 0.7296 (r ? y)
2004 jul 22 39 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.2.2 d ownformatter the block mainly consists of 2 parts: the colour difference signal downsampler and the y-path. the colour difference signals are first passed through low-pass filters which reduce alias effects due to the lower data rate. the itu sampling scheme requires that both colour difference samples fit to the first y sample of the current time slot. thus the c r signal is delayed by 1 clock before it is fed to the multiplexer. the switch signal defines the data multiplex phase at the output: a ?0? marks the first clock of a time slot, this is a c b sample. the output is fed through a register, so that the multiplexer runs with the opposite phase. the delay compensation for the y signal already provides most of the registers required for a small high-pass filter. it can be used to compensate high frequency losses in the analog part. it provides 2 db gain at 6.75 mhz. the y high-pass filter frequency response is shown in fig.26. the dc gain of the filter is 1, so a limiter is required at the filter output. the current implementation clips at the maximum values of 0 and 511. the entire filter can be controlled by the i 2 c-bus bit cmfi in subaddress 29h. handbook, full pagewidth mhb732 low-pass low-pass bypass high-pass c r c b cmfi switch y q d 0 1 q d (c r -c b ) out q d y out delay compensation n fig.24 downformatter block diagram.
2004 jul 22 40 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, halfpage  024 8 4 ? 1 3 mhb788 6 2 1 0 z (db) f (mhz) fig.25 c b -c r low-pass filter frequency response. handbook, halfpage  024 8 2 0 ? 40 ? 60 ? 20 mhb787 6 z (db) f (mhz) fig.26 y high-pass filter frequency response.
2004 jul 22 41 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.2.3 c omponent video bcs control the resulting y and c b -c r signals are fed to the component bcs (cbcs) block, which contains the following functions: ? chrominance saturation control by csat7 to csat0 ? luminance contrast and brightness control by ccon7 to ccon0 and cbri7 to cbri0 ? limiting y-c b -c r or cvbs to the values 1 (minimum) and 254 (maximum) to fulfil ?itu recommendation 601/656? . handbook, full pagewidth luminance 100% + 255 + 235 + 128 + 16 0 white black c b -component + 255 + 240 + 212 + 212 + 128 + 16 + 44 0 blue 100% blue 75% yellow 75% yellow 100% colourless c r -component + 255 + 240 + 128 + 16 + 44 0 red 100% red 75% cyan 75% cyan 100% colourless mhb730 fig.27 components y-c b -c r range. ?itu recommendation 601/656? digital levels with default cbcs (decoder) settings ccon[7:0] = 44h, cbri[7:0] = 80h and csat[7:0] = 40h. equations for modification to the y-c b -c r levels via cbcs control i 2 c-bus bytes cbri, ccon and csat. luminance: chrominance: it should be noted that the resulting levels are limited to 1 to 254 in accordance with ?itu recommendation 601/656? . y out int ccon 68 ----------------- y 128 ? () cbri + = c b c r () out int csat 64 --------------- - c b c r , 128 ? () 128 + = a. y output range. b. c b output range. c. c r output range.
2004 jul 22 42 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.3 decoder output formatter the output interface block of the decoder part contains the itu 656 formatter for the expansion port data output xpd7 to xpd0 (for a detailed description see section 9.5.1) and the control circuit for the signals needed for the internal paths to the scaler and data slicer part. it also controls the selection of the reference signals for the rt port (rtco, rts0 and rts1) and the expansion port (xrh, xrv and xdq). the generation of the decoder data type control signals set_raw and set vbi is also done within this block. these signals are decoded from the requested data type for the scaler input and/or the data slicer, selectable by the control registers lcr2 to lcr24 (see also chapter 15; subaddresses 41h to 57h). for each lcr value from 2 to 23 the data type can be programmed individually; lcr2 to lcr23 refer to line numbers. the selection in lcr24 values is valid for the rest of the corresponding field. the upper nibble contains the value for field 1 (odd), the lower nibble for field 2 (even). the relationship between lcr values and line numbers can be adjusted via voff8 to voff0, located in subaddresses 5bh (bit d4) and 5ah (bits d7 to d0) and foff subaddress 5bh (bit d7). the recommended values are voff[8:0] = 03h for 50 hz sources (with foff = 0) and voff[8:0] = 06h for 60 hz sources (with foff = 1), to accommodate line number conventions as used for pal, secam and ntsc standards; see tables 5 to 8. table 4 data formats at decoder output data type number data type decoder output data format 0 teletext eurowst, ccst raw 1 european closed caption raw 2 video programming service (vps) raw 3 wide screen signalling bits raw 4 us teletext (wst) raw 5 us closed caption (line 21) raw 6 video component signal, vbi region y-c b -c r 4:2:2 7 cvbs data raw 8 teletext raw 9 vitc/ebu time codes (europe) raw 10 vitc/smpte time codes (usa) raw 11 reserved raw 12 us nabts raw 13 moji (japanese) raw 14 japanese format switch (l20/22) raw 15 video component signal, active video region y-c b -c r 4:2:2
2004 jul 22 43 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 43 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... table 5 relationship of lcr to line numbers in 525 lines/60 hz systems (part 1) vertical line offset, voff[8:0] = 06h (subaddresses 5bh[4] and 5ah[7:0]); horizontal pixel offset, hoff[10:0] = 347h (subaddresses 5bh[2:0] and 59h[7:0]); foff = 1 (subaddress 5bh[7]) table 6 relationship of lcr to line numbers in 525 lines/60 hz systems (part 2) vertical line offset, voff[8:0] = 06h (subaddresses 5bh[4] and 5ah[7:0]); horizontal pixel offset, hoff[10:0] = 347h (subaddresses 5bh[2:0] and 59h[7:0]); foff = 1 (subaddress 5bh[7]) table 7 relationship of lcr to line numbers in 625 lines/50 hz systems (part 1) vertical line offset, voff[8:0] = 03h (subaddresses 5bh[4] and 5ah[7:0]); horizontal pixel offset, hoff[10:0] = 347h (subaddresses 5bh[2:0] and 59h[7:0]); foff = 0 (subaddress 5bh[7]) table 8 relationship of lcr to line numbers in 625 lines/50 hz systems (part 2) vertical line offset, voff[8:0] = 03h (subaddresses 5bh[4] and 5ah[7:0]); horizontal pixel offset, hoff[10:0] = 347h (subaddresses 5bh[2:0] and 59h[7:0]); foff = 0 (subaddress 5bh[7]) line number (1st eld) 521 522 523 524 525 1 2 3 4 5 6 7 8 9 active video equalization pulses serration pulses equalization pulses line number (2nd eld) 259 260 261 262 263 264 265 266 267 268 269 270 271 272 active video equalization pulses serration pulses equalization pulses lcr 24 23456789 line number (1st eld) 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 nominal vbi lines f1 active video line number (2nd eld) 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 nominal vbi lines f2 active video lcr 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 line number (1st eld) 621 622 623 624 625 1 2 3 4 5 active video equalization pulses serration pulses equalization pulses line number (2nd eld) 309 310 311 312 313 314 315 316 317 318 active video equalization pulses serration pulses equalization pulses lcr 24 2345 line number (1st eld) 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 nominal vbi lines f1 active video line number (2nd eld) 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 nominal vbi lines f2 active video lcr 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
2004 jul 22 44 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 fig.28 vertical timing diagram for 50 hz/625 line systems. (1) the inactive going edge of the v123 signal indicates whether the field is odd or even. if href is active during the falling edge of v123, the field is odd (field 1). if href is inactive during the falling edge of v123, the field is even. the specific position of the slope is dependent on the internal processing delay and may change a few clock cycles from version to version. the control signals listed above are available on pins rts0, rts1, xrh and xrv according to the following table: for further information see section 15.2: tables 57, 58 and 59. name rts0 rts1 xrh xrv href x x x ? f_itu656 ??? x v123 x x ? x vgate x x ?? fid x x ?? mhb540 vgate vsto [ 8:0 ] = 134h vsta [ 8:0 ] = 15h (a) 1st field cvbs itu counting single field counting 1 1 2 2 3 3 4 4 5 5 6 6 7 7 ... ... 22 22 625 312 624 311 623 310 622 309 23 23 fid href f_itu656 v123 (1) vgate cvbs itu counting single field counting fid href f_itu656 v123 (1) vsto [ 8:0 ] = 134h vsta [ 8:0 ] = 15h (b) 2nd field 313 313 314 1 315 2 316 3 317 4 318 5 319 6 ... ... 335 22 312 312 311 311 310 310 309 309 336 23
2004 jul 22 45 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 fig.29 vertical timing diagram for 60 hz/525 line systems. (1) the inactive going edge of the v123 signal indicates whether the field is odd or even. if href is active during the falling edge of v123, the field is odd (field 1). if href is inactive during the falling edge of v123, the field is even. the specific position of the slope is dependent on the internal processing delay and may change a few clock cycles from version to version. the control signals listed above are available on pins rts0, rts1, xrh and xrv according to the following table: for further information see section 15.2: tables 57, 58 and 59. name rts0 rts1 xrh xrv href x x x ? f_itu656 ??? x v123 x x ? x vgate x x ?? fid x x ?? mhb541 vgate vsto [ 8:0 ] = 101h vsta [ 8:0 ] = 011h (a) 1st field cvbs itu counting single field counting 4 4 5 5 6 6 7 7 8 8 9 9 10 10 ... ... 21 21 3 3 2 2 1 1 525 262 22 22 fid href f_itu656 v123 (1) vgate cvbs itu counting single field counting fid href f_itu656 v123 (1) vsto [ 8:0 ] = 101h vsta [ 8:0 ] = 011h (b) 2nd field 266 3 267 4 268 5 269 6 270 7 271 8 272 9 ... ... 284 21 265 2 264 1 263 263 262 262 285 22
2004 jul 22 46 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 fig.30 horizontal timing diagram (50/60 hz). the signals href, hs, cref2 and cref are available on pins rts0 and/or rts1 (see section 15.2.19 tables 57 and 58); their polarity can be inverted via rtp0 and/or rtp1. the signals href and hs are available on pin xrh (see section 15.2.20 table 59). 108 ? 107 107 ? 106 mhb542 cvbs input 140 1/llc 5 2/llc expansion port data output 12 2/llc 720 2/llc 144 2/llc 138 2/llc 720 2/llc burst processing delay adc to expansion port: 0 0 2 2/llc 2 2/llc href (60 hz) hs (60 hz) sync clipped 16 2/llc 1 2/llc programming range (step size: 8/llc) programming range (step size: 8/llc) hs (50 hz) href (50 hz) cref cref2 cref cref2
2004 jul 22 47 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.4 scaler the high performance video scaler (hps) is based on the system as implemented in previous products, but with some aspects enhanced. vertical upsampling is supported and the processing pipeline buffer capacity is enhanced, to allow more flexible video stream timing at the image port, discontinuous transfers, and handshake. the internal data flow from block to block is discontinuous dynamically, due to the scaling process. the flow is controlled by internal data valid and data request flags (internal handshake signalling) between the sub-blocks; therefore the entire scaler acts as a pipeline buffer. depending on the actually programmed scaling parameters the effective buffer can exceed to an entire line. the access/bandwidth requirements to the vga frame buffer are reduced significantly. the high performance video scaler in the saa7118 has the following major blocks: ? acquisition control (horizontal and vertical timer) and task handling (the region/field/frame based processing) ? prescaler, for horizontal downscaling by an integer factor, combined with appropriate band limiting filters, especially anti-aliasing for cif format ? brightness, saturation, contrast control for scaled output data ? line buffer, with asynchronous read and write, to support vertical upscaling (e.g. for videophone application, converting 240 into 288 lines, y-c b -c r 4:2:2) ? vertical scaling, with phase accurate linear phase interpolation (lpi) for zoom and downscale, or phase accurate accumulation mode (acm) for large downscaling ratios and better alias suppression ? variable phase delay (vpd), operates as horizontal phase accurate interpolation for arbitrary non-integer scaling ratios, supporting conversion between square and rectangular pixel sampling ? output formatter for scaled y-c b -c r 4:2:2, y- c b -c r 4 : 1 : 1 and y only (format also used for raw data) ? fifo, 32-bit wide, with 64 pixel capacity in y-c b -c r formats ? output interface, 8 or 16-bit (only if extended by h port) data pins wide, synchronous or asynchronous operation, with stream events on discrete pins, or coded in the data stream. the overall h and v zooming (hv_zoom) is restricted by the input/output data rate relationships. with a safety margin of 2% for running in and running out, the maximum hv_zoom is equal to: for example: 1. input from decoder: 50 hz, 720 pixel, 288 lines, 16-bit data at 13.5 mhz data rate, 1 cycle per pixel; output: 8-bit data at 27 mhz, 2 cycles per pixel; the maximum hv_zoom is equal to: 2. input from x port: 60 hz, 720 pixel, 240 lines, 8-bit data at 27 mhz data rate (itu 656), 2 cycles per pixel; output via i + h port: 16-bit data at 27 mhz clock, 1 cycle per pixel; the maximum hv_zoom is equal to: the video scaler receives its input signal from the video decoder or from the expansion port (x port). it gets 16-bit y-c b -c r 4 : 2 : 2 input data at a continuous rate of 13.5 mhz from the decoder. discontinuous data stream can be accepted from the expansion port (x port), normally 8-bit wide itu 656 such as y-c b -c r data, accompanied by a pixel qualifier on xdq. the input data stream is sorted into two data paths, one for luminance (or raw samples) and one for time multiplexed chrominance c b and c r samples. an y-c b -c r 4:1:1 input format is converted to 4 : 2 : 2 for the horizontal prescaling and vertical filter scaling operation. the scaler operation is defined by two programming pages a and b, representing two different tasks, that can be applied field alternating or to define two regions in a field (e.g. with different scaling range, factors and signal source during odd and even fields). each programming page contains control: ? for signal source selection and formats ? for task handling and trigger conditions ? for input and output acquisition window definition ? for h-prescaler, v-scaler and h-phase scaling. raw vbi data is handled as a specific input format and needs its own programming page (equals own task). 0.98 t_input_field t_v_blanking ? in_pixel in_lines out_cycle_per_pix t_out_clk ------------------------------------------------------------------ ------------------------------------------------------------- ------ - 0.98 20 ms 24 64 s ? 720 288 2 37 ns -------------------------------------------------------- 1.18 = 0.98 16.666 ms 22 64 s ? 720 240 1 37 ns -------------------------------------------------------------- 2.34 =
2004 jul 22 48 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 in vbi pass through operation the processing of prescaler and vertical scaling has to be set to no-processing, however, the horizontal fine scaling vpd can be activated. upscaling (oversampling, zooming), free of frequency folding, up to a factor of 3.5 can be achieved, as required by some software data slicing algorithms. these raw samples are transported through the image port as valid data and can be output as y only format. the lines are framed by sav and eav codes. 8.4.1 a cquisition control and task handling ( subaddresses 80h, 90h, 91h, 94h to 9fh and c4h to cfh) the acquisition control receives horizontal and vertical synchronization signals from the decoder section or from the x port. the acquisition window is generated via pixel and line counters at the appropriate places in the data path. from x port only qualified pixels and lines (lines with qualified pixel) are counted. the acquisition window parameters are as follows: ? signal source selection regarding input video stream and formats from the decoder, or from x port (programming bits scsrc[1:0] 91h[5:4] and fsc[2:0] 91h[2:0]) remark : the input of raw vbi data from the internal decoder should be controlled via the decoder output formatter and the lcr registers; see section 8.3 ? vertical offset defined in lines of the video source, parameter yo[11:0] 99h[3:0] 98h[7:0] ? vertical length defined in lines of the video source, parameter ys[11:0] 9bh[3:0] 9ah[7:0] ? vertical length defined in number of target lines, as a result of vertical scaling, parameter yd[11:0] 9fh[3:0] 9eh[7:0] ? horizontal offset defined in number of pixels of the video source, parameter xo[11:0] 95h[3:0] 94h[7:0] ? horizontal length defined in number of pixels of the video source, parameter xs[11:0] 97h[3:0] 96h[7:0] ? horizontal destination size, defined in target pixels after fine scaling, parameter xd[11:0] 9dh[3:0] 9ch[7:0]. the source start offset (xo11 to xo0 and yo11 to yo0) opens the acquisition window, and the target size (xd11 to xd0 and yd11 to yd0) closes the window, however the window is cut vertically if there are less output lines than expected. the trigger events for the pixel and line counts are the horizontal and vertical reference edges as defined in subaddress 92h. the task handling is controlled by subaddress 90h; see section 8.4.1.2. 8.4.1.1 input eld processing the trigger event for the field sequence detection from external signals (x port) are defined in subaddress 92h. from the x port the state of the scalers h reference signal at the time of the v reference edge is taken as field sequence identifier fid. for example, if the falling edge of the xrv input signal is the reference and the state of xrh input is logic 0 at that time, the detected field id is logic 0. the bits xfdv[92h[7]] and xfdh[92h[6]] define the detection event and state of the flag from the x port. for the default setting of xfdv and xfdh at ?00? the state of the h-input at the falling edge of the v-input is taken. the scaler directly gets a corresponding field id information from the saa7118 decoder path. the fid flag is used to determine whether the first or second field of a frame is going to be processed within the scaler and it is used as trigger condition for the task handling (see bits strc[1:0] 90h[1:0]). according to itu 656, when fid is at logic 0 means first field of a frame. to ease the application, the polarities of the detection results on the x port signals and the internal decoder id can be changed via xfdh. as the v-sync from the decoder path has a half line timing (due to the interlaced video signal), but the scaler processing only knows about full lines, during 1st fields from the decoder the line count of the scaler possibly shifts by one line, compared to the 2nd field. this can be compensated for by switching the v-trigger event, as defined by xdv0, to the opposite v-sync edge or by using the vertical scalers phase offsets. the vertical timing of the decoder can be seen in figs 28 and 29. as the h and v reference events inside the itu 656 data stream (from x port) and the real-time reference signals from the decoder path are processed differently, the trigger events for the input acquisition also have to be programmed differently.
2004 jul 22 49 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 9 processing trigger and start xdv1 92h[5] xdv0 92h[4] xdh 92h[2] description internal decoder : the processing triggers at the falling edge of the v123 pulse [see figs 28 (50 hz) and 29 (60 hz)], and starts earliest with the rising edge of the decoder href at line number: 0 1 0 4/7 (50/60 hz, 1st field), respectively 3/6 (50/60 hz, 2nd field) (decoder count) 0 0 0 2/5 (50/60 hz, 1st field), respectively 2/5 (50/60 hz, 2nd field) (decoder count) 000 external itu 656 stream : the processing starts earliest with sav at line number 23 (50 hz system), respectively line 20 (60 hz system) (according to itu 656 count) 8.4.1.2 task handling the task handler controls the switching between the two programming register sets. it is controlled by subaddresses 90h and c0h. a task is enabled via the global control bits tea[80h[4]] and teb[80h[5]]. the handler is then triggered by events, which can be defined for each register set. in the event of a programming error the task handling and the complete scaler can be reset to the initial states by setting the software reset bit swrst[88h[5]] to logic 0. especially if the programming registers, related acquisition window and scale are reprogrammed while a task is active, a software reset must be performed after programming. contrary to the disabling/enabling of a task, which is evaluated at the end of a running task, when swrst is at logic 0 it sets the internal state machines directly to their idle states. the start condition for the handler is defined by bits strc[1:0] 90h[1:0] and means: start immediately, wait for next v-sync, next fid at logic 0 or next fid at logic 1. the fid is evaluated, if the vertical and horizontal offsets are reached. when rptsk[90h[2]] is at logic 1 the actual running task is repeated (under the defined trigger conditions), before handing control over to the alternate task. to support field rate reduction, the handler is also enabled to skip fields (bits fskp[2:0] 90h[5:3]) before executing the task. a toggle flag is generated (used for the correct output field processing), which changes state at the beginning of a task, every time a task is activated; examples are given in section 8.4.1.3. remarks: ? to activate a task the start condition must be fulfilled and the acquisition window offsets must be reached . for example, in case of ?start immediately?, and two regions are defined for one field, the offset of the lower region must be greater than (offset + length) of the upper region, if not, the actual counted h and v position at the end of the upper task is beyond the programmed offsets and the processing will ?wait for next v?. ? basically the trigger conditions are checked, when a task is activated . it is important to realize, that they are not checked while a task is inactive. so you can not trigger to next logic 0 or logic 1 with overlapping offset and active video ranges between the tasks (e.g. task a strc[2:0] = 2, yo[11:0] = 310 and task b strc[2:0] = 3, yo[11:0] = 310 results in output field rate of 50 ? 3 hz). ? after power-on or software reset (via swrst[88h[5]]) task b gets priority over task a . 8.4.1.3 output eld processing as a reference for the output field processing, two signals are available for the back-end hardware. these signals are the input field id from the scaler source and a toggle flag, which shows that an active task is used an odd (1, 3, 5...) or even (2, 4, 6...) number of times. using a single or both tasks and reducing the field or frame rate with the task handling function, the toggle information can be used to reconstruct an interlaced scaled picture at a reduced frame rate. the toggle flag isn?t synchronized to the input field detection, as it is only dependent on the interpretation of this information by the external hardware, whether the output of the scaler is processed correctly; see section 8.4.3.
2004 jul 22 50 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 50 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... with ofidc = 0, the scalers input field id is available as output field id on bit d6 of sav and eav, respectively on pin igp0 (igp1 ), if fid output is selected. when ofidc[90h[6]] = 1, the toggle information is available as output field id on bit d6 of sav and eav, respectively on pin igp0 ( igp1), if fid output is selected. additionally the bit d7 of sav and eav can be defined via conlh[90h[7]]. conlh[90h[7]] = 0 (default) sets d7 to logic 1, a logic 1 i nverts the sav/eav bit d7. so it is possible to mark the output of the both tasks by different sav/eav codes. this bit can also be seen as ?task flag? on the pins igp0 (igp1), if task output is selected. table 10 examples for eld processing notes 1. single task every field; ofidc = 0; subaddress 90h at 40h; teb[80h[5]] = 0. 2. tasks are used to scale to different output windows, priority on task b after swrst. 3. both tasks at 1 ? 2 frame rate; ofidc = 0; subaddresses 90h at 43h and c0h at 42h. 4. in examples 3 and 4 the association between input fid and tasks can be flipped, dependent on which time the swrst is de-asserte d. 5. task b at 2 ? 3 frame rate constructed from neighbouring motion phases; task a at 1 ? 3 frame rate of equidistant motion phases; ofidc = 1; subaddresses 90h at 41h and c0h at 45h. 6. task a and b at 1 ? 3 frame rate of equidistant motion phases; ofidc = 1; subaddresses 90h at 41h and c0h at 49h. 7. state of prior field. 8. it is assumed that input/output fid = 0 (= upper lines); up = upper lines; lo = lower lines. 9. o = data output; no = no output. subject field sequence frame/field example 1 (1) example 2 (2)(3) example 3 (2)(4)(5) example 4 (2)(4)(6) 1/1 1/2 2/1 1/1 1/2 2/1 2/2 1/1 1/2 2/1 2/2 3/1 3/2 1/1 1/2 2/1 2/2 3/1 3/2 processed by task a a a b a b a b b abba b ba b ba state of detected itu 656 fid 0 1 00101010101 0 10 1 01 toggle ag 1 0 111001011000 (7) 111 (7) 00 bit d6 of sav/eav byte 0 1 0 0 1011011000 (7) 111 (7) 00 required sequence conversion at the vertical scaler (8) up up lo lo up up up up lo lo up up lo lo up lo lo up up lo lo lo up up lo up up up lo lo up lo lo lo up up lo up output (9) o o ooooooooooonooonooo
2004 jul 22 51 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.4.2 h orizontal scaling the overall horizontal required scaling factor has to be split into a binary and a rational value according to the equation: where the parameter of prescaler xpsc[5:0] = 1 to 63 and the parameter of vpd phase interpolation xscy[12:0] = 300 to 8191 (0 to 299 are only theoretical values). for example, 1 ? 3.5 is to split in 1 ? 4 1.14286. the binary factor is processed by the prescaler, the arbitrary non-integer ratio is achieved via the variable phase delay vpd circuitry, called horizontal fine scaling. the latter calculates horizontally interpolated new samples with a 6-bit phase accuracy, which relates to less than 1 ns jitter for regular sampling scheme. prescaler and fine scaler create the horizontal scaler of the saa7118. using the accumulation length function of the prescaler (xacl[5:0] a1h[5:0]), application and destination dependent (e.g. scale for display or for a compression machine), a compromise between visible bandwidth and alias suppression can be determined. 8.4.2.1 horizontal prescaler (subaddresses a0h to a7h and d0h to d7h) the prescaling function consists of an fir anti-alias filter stage and an integer prescaler, which creates an adaptive prescale dependent low-pass filter to balance sharpness and aliasing effects. the fir prefilter stage implements different low-pass characteristics to reduce alias for downscales in the range of 1 to 1 ? 2 . a cif optimized filter is built-in, which reduces artefacts for cif output formats (to be used in combination with the prescaler set to 1 ? 2 scale); see table 11. the function of the prescaler is defined by: ? an integer prescaling ratio xpsc[5:0] a0h[5:0] (equals 1 to 63), which covers the integer downscale range 1 to 1 ? 63 ? an averaging sequence length xacl[5:0] a1h[5:0] (equals 0 to 63); range 1 to 64 ? a dc gain renormalization xdcg[2:0] a2h[2:0]; 1 down to 1 ? 128 ? the bit xc2_1[a2h[3]], which defines the weighting of the incoming pixels during the averaging process: ? xc2_1 = 0 ? 1 + 1...+ 1 +1 ? xc2_1 = 1 ? 1 + 2...+ 2 +1. the prescaler creates a prescale dependent fir low-pass, with up to (64 + 7) filter taps. the parameter xacl[5:0] can be used to vary the low-pass characteristic for a given integer prescale of 1 ? xpsc[5:0] . the user can therefore decide between signal bandwidth (sharpness impression) and alias. equation for xpsc[5:0] calculation is: where: the range is 1 to 63 ( value 0 is not allowed ); npix_in = number of input pixel, and npix_out = number of desired output pixel over the complete horizontal scaler. the use of the prescaler results in a xacl[5:0] and xc2_1 dependent gain amplification. the amplification can be calculated according to the equation: dc gain = (xc2_1 + 1) xacl[5:0] + (1 ? xc2_1) it is recommended to use sequence lengths and weights, which results in a 2 n dc gain amplification, as these amplitudes can be renormalized by the xdcg[2:0] controlled shifter of the prescaler. the renormalization range of xdcg[2:0] is 1, 1 ? 2 down to 1 ? 128 . other amplifications have to be normalized by using the following bcs control circuitry. in these cases the prescaler has to be set to an overall gain of 1, e.g. for an accumulation sequence of ?1 + 1 + 1? (xacl[5:0] = 2 and xc2_1 = 0), xdcg[2:0] must be set to ?010?, this equals 1 ? 4 and the bcs has to amplify the signal to 4 ? 3 (satn[7:0] and cont[7:0] value = lower integer of 4 ? 3 64). the use of xacl[5:0] is xpsc[5:0] dependent. xacl[5:0] must be <2 xpsc[5:0]. xacl[5:0] can be used to find a compromise between bandwidth (sharpness) and alias effects. h-scale ratio output pixel input pixel ------------------------------ = h-scale ratio 1 xpsc[5:0] --------------------------- - 1024 xscy[12:0] ------------------------------ - = xpsc[5:0] lower integer of npix_in npix_out ----------------------- = 1 2 n ------
2004 jul 22 52 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 remark : due to bandwidth considerations xpsc[5:0] and xacl[5:0] can be chosen differently to the previously mentioned equations or table 12, as the h-phase scaling is able to scale in the range from zooming up by factor 3 to downscaling by a factor of 1024 ? 8191 . figures 33 and 34 show some resulting frequency characteristics of the prescaler. table 12 shows the recommended prescaler programming. other programmings, other than given in table 12, may result in better alias suppression, but the resulting dc gain amplification needs to be compensated by the bcs control, according to the equation: where: 2 xdcg[2:0] dc gain dc gain = (xc2_1 + 1) xacl[5:0] + (1 ? xc2_1). for example, if xacl[5:0] = 5, xc2_1 = 1, then the dc gain = 10 and the required xdcg[2:0] = 4. the horizontal source acquisition timing and the prescaling ratio is identical for both the luminance path and chrominance path, but the fir filter settings can be defined differently in the two channels. fade-in and fade-out of the filters is achieved by copying an original source sample each as first and last pixel after prescaling. figures 31 and 32 show the frequency characteristics of the selectable fir filters. cont[7:0] satn[7:0] lower integer of 2 xdcg[2:0] dc gain 64 ---------------------------------- == table 11 fir pre lter functions pfuv[1:0] a2h[7:6] pfy[1:0] a2h[5:4] luminance filter coefficients chrominance coefficients 00 bypassed bypassed 01 121 121 10 ? 1 1 1.75 4.5 1.75 1 ? 1 381083 11 12221 12221
2004 jul 22 53 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 mhb543 v (db) 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 f_sig/f_clock (1) (2) (3) ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 6 3 fig.31 luminance prefilter characteristic. (1) pfy[1:0] = 01. (2) pfy[1:0] = 10. (3) pfy[1:0] = 11. mhb544 v (db) 0 0.025 0.05 0.075 0.1 0.125 0.15 0.175 0.2 0.225 0.25 f_sig/f_clock (1) (2) (3) ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 6 3 fig.32 chrominance prefilter characteristic. (1) pfuv[1:0] = 01. (2) pfuv[1:0] = 10. (3) pfuv[1:0] = 11.
2004 jul 22 54 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 mhb545 v (db) 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 (1) (2) (3) (4) (5) f_sig/f_clock ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 6 3 xc2_1 = 0; zero?s at with xacl = (1), (2), (3), (4) or (5) fn 1 xacl 1 + ------------------------ - = fig.33 examples for prescaler filter characteristics: effect of increasing xacl[5:0]. fig.34 examples for prescaler filter characteristics: setting xc2_1 = 1. (1) xc2_1 = 0 and xacl[5:0] = 1. (2) xc2_1 = 1 and xacl[5:0] = 2. (3) xc2_1 = 0 and xacl[5:0] = 3. (4) xc2_1 = 1 and xacl[5:0] = 4. (5) xc2_1 = 0 and xacl[5:0] = 7. (6) xc2_1 = 1 and xacl[5:0] = 8. mhb546 ? 42 ? 39 ? 36 ? 33 ? 30 ? 27 ? 24 ? 21 ? 18 ? 15 ? 12 ? 9 ? 6 ? 3 0 6 3 v (db) 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 f_sig/f_clock (1) (2) (3) (4) (5) (6) 3 db at 0.25 6 db at 0.33
2004 jul 22 55 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 12 xacl[5:0] example of usage note 1. resulting fir function. prescale ratio xpsc [5:0] recommended values fir prefilter pfy[1:0]/ pfuv[1:0] for lower bandwidth requirements for higher bandwidth requirements xacl[5:0] xc2_1 xdcg[2:0] xacl[5:0] xc2_1 xdcg[2:0] 110 0 0 0 0 0 0to2 1 ? 2 2 2 1 2 1 0 1 0 to 2 (1 2 1) 1 ? 4 (1) (1 1) 1 ? 2 (1) 1 ? 3 34 1 3 3 0 2 2 (12221) 1 ? 8 (1) (1 1 1 1) 1 ? 4 (1) 1 ? 4 47 0 3 4 1 3 2 (11111111) 1 ? 8 (1) (12221) 1 ? 8 (1) 1 ? 5 58 1 4 7 0 3 2 (122222221) 1 ? 16 (1) (11111111) 1 ? 8 (1) 1 ? 6 68 1 4 7 0 3 3 (122222221) 1 ? 16 (1) (11111111) 1 ? 8 (1) 1 ? 7 78 1 4 7 0 3 3 (122222221) 1 ? 16 (1) (11111111) 1 ? 8 (1) 1 ? 8 815 0 4 8 1 4 3 (1111111111111111) 1 ? 16 (1) (122222221) 1 ? 16 (1) 1 ? 9 915 0 4 8 1 4 3 (1111111111111111) 1 ? 16 (1) (122222221) 1 ? 16 (1) 1 ? 10 10 16 1 5 8 1 4 3 (12222222222222221) 1 ? 32 (1) (122222221) 1 ? 16 (1) 1 ? 13 13 16 1 5 16 1 5 3 1 ? 15 15 31 0 5 16 1 5 3 1 ? 16 16 32 1 6 16 1 5 3 1 ? 19 19 32 1 6 32 1 6 3 1 ? 31 31 32 1 6 32 1 6 3 1 ? 32 32 63 1 7 32 1 6 3 1 ? 35 35 63 1 7 63 1 7 3
2004 jul 22 56 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.4.2.2 horizontal ne scaling (variable phase delay lter; subaddresses a8h to afh and d8h to dfh) the horizontal fine scaling (vpd) should operate at scaling ratios between 1 ? 2 and 2 (0.8 and 1.6), but can also be used for direct scaling in the range from 1 ? 7.999 to (theoretical) zoom 3.5 (restriction due to the internal data path architecture), without prescaler. in combination with the prescaler a compromise between sharpness impression and alias can be found. this is signal source and application dependent. for the luminance channel a filter structure with 10 taps is implemented, and for the chrominance a filter with 4 taps. luminance and chrominance scale increments (xscy[12:0] a9h[4:0] a8h[7:0] and xscc[12:0] adh[4:0] ach[7:0]) are defined independently, but must be set in a 2 : 1 relationship in the actual data path implementation. the phase offsets xphy[7:0] aah[7:0] and xphc[7:0] aeh[7:0] can be used to shift the sample phases slightly. xphy[7:0] and xphc[7:0] covers the phase offset range 7.999t to 1 ? 32 t. the phase offsets should also be programmed in a 2 : 1 ratio. the underlying phase controlling dto has a 13-bit resolution. according to the equations and the vpd covers the scale range from 0.125 to zoom 3.5. vpd acts equivalent to a polyphase filter with 64 possible phases. in combination with the prescaler, it is possible to get very accurate samples from a highly anti-aliased integer downscaled input picture. 8.4.3 v ertical scaling the vertical scaler of the saa7118 consists of a line fifo buffer for line repetition and the vertical scaler block, which implements the vertical scaling on the input data stream in 2 different operational modes from theoretical zoom by 64 down to icon size 1 ? 64 . the vertical scaler is located between the bcs and horizontal fine scaler, so that the bcs can be used to compensate the dc gain amplification of the acm mode (see section 8.4.3.2) as the internal rams are only 8-bit wide. 8.4.3.1 line fifo buffer (subaddresses 91h, b4h and c1h, e4h) the line fifo buffer is a dual ported ram structure for 768 pixels, with asynchronous write and read access. the line buffer can be used for various functions, but not all functions may be available simultaneously. the line buffer can buffer a complete unscaled active video line or more than one shorter lines (only for non-mirror mode), for selective repetition for vertical zoom-up. for zooming up 240 lines to 288 lines e.g., every fourth line is requested (read) twice from the vertical scaling circuitry for calculation. for conversion of a 4 : 2 : 0 or 4 : 1 : 0 input sampling scheme (mpeg, video phone, indeo yuv-9) to itu like sampling scheme 4 : 2 : 2, the chrominance line buffer is read twice or four times, before being refilled again by the source. it has to be preserved by means of the input acquisition window definition, so that the processing starts with a line containing luminance and chrominance information for 4 : 2 : 0 and 4 : 1 : 0 input. the bits fsc[2:1] 91h[2:1] define the distance between the y/c lines. in the event of 4 : 2 : 2 and 4 : 1 : 1 fsc2 and fsc1 have to be set to ?00?. the line buffer can also be used for mirroring, i.e. for flipping the image left to right, for the vanity picture in video phone applications (bit ymir[b4h[4]]). in mirror mode only one active prescaled line can be held in the fifo at a time. the line buffer can be utilized as an excessive pipeline buffer for discontinuous and variable rate transfer conditions at the expansion port or image port. xscy[12:0] 1024 npix_in xpsc[5:0] --------------------------- - 1 npix_out ----------------------- = xscc[12:0] xscy[12:0] 2 ------------------------------ - =
2004 jul 22 57 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.4.3.2 vertical scaler (subaddresses b0h to bfh and e0h to efh) vertical scaling of any ratio from 64 (theoretical zoom) to 1 ? 63 (icon) can be applied. the vertical scaling block consists of another line delay, and the vertical filter structure, that can operate in two different modes; linear phase interpolation (lpi) and accumulation (acm) mode. these are controlled by ymode[b4h[0]]: ? lpi mode : in lpi mode (ymode = 0) two neighbouring lines of the source video stream are added together, but weighted by factors corresponding to the vertical position (phase) of the target output line relative to the source lines. this linear interpolation has a 6-bit phase resolution, which equals 64 intra line phases. it interpolates between two consecutive input lines only. lpi mode should be applied for scaling ratios around 1 (down to 1 ? 2 ), it must be applied for vertical zooming . ? acm mode : the vertical accumulation (acm) mode (ymode = 1) represents a vertical averaging window over multiple lines, sliding over the field. this mode also generates phase correct output lines. the averaging window length corresponds to the scaling ratio, resulting in an adaptive vertical low-pass effect, to greatly reduce aliasing artefacts. acm can be applied for downscales only from ratio 1 down to 1 ? 64 . acm results in a scale dependent dc gain amplification , which has to be precorrected by the bcs control of the scaler part. the phase and scale controlling dto calculates in 16-bit resolution, controlled by parameters yscy[15:0] b1h[7:0] b0h[7:0] and yscc[15:0] b3h[7:0] b2h[7:0], continuously over the entire filed. a start offset can be applied to the phase processing by means of the parameters ypy3[7:0] to ypy0[7:0] in bfh[7:0] to bch[7:0] and ypc3[7:0] to ypc0[7:0] in bbh[7:0] to b8h[7:0]. the start phase covers the range of 255 ? 32 to 1 ? 32 lines offset. by programming appropriate, opposite, vertical start phase values (subaddresses b8h to bfh and e8h to efh) depending on odd or even field id of the source video stream and a or b page cycle, frame id conversion and field rate conversion are supported (i.e. de-interlacing, re-interlacing). figures 35 and 36 and tables 13 and 14 describe the use of the offsets. remark: the vertical start phase, as well as scaling ratio are defined independently for the luminance and chrominance channel, but must be set to the same values in the actual implementation for accurate 4 : 2 : 2 output processing. the vertical processing communicates on its input side with the line fifo buffer. the scale related equations are: ? scaling increment calculation for acm and lpi mode, downscale and zoom: yscy[15:0] and yscc[15:0] ? bcs value to compensate dc gain in acm mode (contrast and saturation have to be set): cont[7:0] a5h[7:0] respectively satn[7:0] a6h[7:0] , or 8.4.3.3 use of the vertical phase offsets as described in section 8.4.1.3, the scaler processing may run randomly over the interlaced input sequence. additionally the interpretation and timing between itu 656 field id and real-time detection by means of the state of h-sync at the falling edge of v-sync may result in different field id interpretation. a vertically scaled interlaced output also gets a larger vertical sampling phase error, if the interlaced input fields are processed, without regard to the actual scale at the starting point of operation (see fig.35). for correct interlaced processing the vertical scaler must be used with respect to the interlace properties of the input signal and, if required, for conversion of the field sequences. four events should be considered, they are illustrated in fig.36. lower integer of = 1024 nline_in nline_out ------------------------ - ?? ?? lower integer of nline_out nline_in ------------------------ - 64 ?? ?? = lower integer of 1024 yscy[15:0] ------------------------------ - 64 ?? ?? =
2004 jul 22 58 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 fig.35 basic problem of interlaced vertical scaling (example: downscale 3 ? 5 ). mhb547 mismatched vertical line distances scale dependent start offset correct scale dependent position unscaled input scaled output, no phase offset scaled output, with phase offset eld 1 eld 2 eld 1 eld 2 eld 1 eld 2 handbook, full pagewidth mhb548 eld 1 eld 2 upper lower eld 1 eld 2 case up-up case lo-lo eld 1 eld 2 case up-lo case lo-up a b c d fig.36 derivation of the phase related equations (example: interlace vertical scaling down to 3 ? 5 , with field conversion). offset 1024 32 ------------ - 32 1 line shift === a 1 2 -- - input line shift 16 == b 1 2 -- - input line shift 1 2 -- - scale increment + yscy[15:0] 64 ------------------------------ - 16 + == d = no offset = 0 c 1 2 -- - scale increment yscy[15:0] 64 ------------------------------ - ==
2004 jul 22 59 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 in tables 13 and 14 pho is a usable common phase offset. it should be noted that the equations of fig.36 produce an interpolated output, also for the unscaled case, as the geometrical reference position for all conversions is the position of the first line of the lower field; see table 13. if there is no need for up-lo and lo-up conversion and the input field id is the reference for the back-end operation, then it is up-lo = up-up and lo-up = lo-lo and the 1 ? 2 line phase shift (pho + 16) that can be skipped. this case is listed in table 14. the saa7118 supports 4 phase offset registers per task and component (luminance and chrominance). the value of 20h represents a phase shift of one line. the registers are assigned to the following events; e.g. subaddresses b8h to bbh: ? b8h: 00 = input field id 0, task status bit d0 (toggle status; see section 8.4.1.3) ? b9h: 01 = input field id 0, task status bit d1 ? bah: 10 = input field id 1, task status bit d0 ? bbh: 11 = input field id 1, task status bit d1. depending on the input signal (interlaced or non-interlaced) and the task processing 50 hz or field reduced processing with one or two tasks (see examples in section 8.4.1.3), other combinations may also be possible, but the basic equations are the same. table 13 examples for vertical phase offset usage: global equations input field under processing output field interpretation used abbreviation equation for phase offset calculation (decimal values) upper input lines upper output lines up-up pho + 16 upper input lines lower output lines up-lo lower input lines upper output lines lo-up pho lower input lines lower output lines lo-lo pho yscy[15:0] 64 ------------------------------ - 16 ++ pho yscy[15:0] 64 ------------------------------ - +
2004 jul 22 60 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 14 vertical phase offset usage; assignment of the phase offsets notes 1. case 1: ofidc[90h[6]] = 0; scaler input field id as output id; back-end interprets output field id at logic 0 as upper output lines. 2. case 2: ofidc[90h[6]] = 1; task status bit as output id; back-end interprets output field id at logic 0 as upper output lines. 3. case 3: ofidc[90h[6]] = 1; task status bit as output id; back-end interprets output field id at logic 1 as upper output lines. detected input field id task status bit vertical phase offset case equation to be used 0 = upper lines 0 ypy0[7:0] and ypc0[7:0] case 1 (1) up-up (pho) case 2 (2) up-up case 3 (3) up-lo 0 = upper lines 1 ypy1[7:0] and ypc1[7:0] case 1 up-up (pho) case 2 up-lo case 3 up-up 1 = lower lines 0 ypy2[7:0] and ypc2[7:0] case 1 lo-lo case 2 lo-up case 3 lo-lo 1 = lower lines 1 ypy3[7:0] and ypc3[7:0] case 1 lo-lo case 2 lo-lo case 3 lo-up pho yscy[15:0] 64 ------------------------------ - 16 ? + ?? ?? pho yscy[15:0] 64 ------------------------------ - 16 ? + ?? ?? 8.5 vbi data decoder and capture (subaddresses 40h to 7fh) the saa7118 contains a versatile vbi data decoder. the implementation and programming model is in accordance with the vbi data slicer built into the multimedia video data acquisition circuit saa5284. the circuitry recovers the actual clock phase during the clock run-in period, slices the data bits with the selected data rate, and groups them into bytes. the result is buffered into a dedicated vbi data fifo with a capacity of 2 56 bytes (2 14 dwords). the clock frequency, signal source, field frequency and accepted error count must be defined in subaddress 40h. the supported vbi data standards are shown in table 15. for lines 2 to 24 of a field, per vbi line, 1 of 16 standards can be selected (lcr24_[7:0] to lcr2_[7:0] in 57h[7:0] to 41h[7:0]: 23 2 4 bit programming bits). the definition for line 24 is valid for the rest of the corresponding field, normally no text data (video data) should be selected there (lcr24_[7:0] = ffh) to stop the activity of the vbi data slicer during active video. to adjust the slicers processing to the input signal source, there are offsets in the horizontal and vertical direction available: parameters hoff[10:0] 5bh[2:0] 59h[7:0], voff[8:0] 5bh[4] 5ah[7:0] and foff[5bh[7]]. contrary to the scalers counting, the slicers offsets define the position of the h and v trigger events related to the processed video field. the trigger events are the falling edge of href and the falling edge of v123 from the decoder processing part. the relationship of these programming values to the input signal and the recommended values are given in tables 5 to 8.
2004 jul 22 61 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 15 data types supported by the data slicer block dt[3:0] 62h[3:0] standard type data rate (mbit/s) framing code fc window ham check 0000 teletext eurowst, ccst 6.9375 27h wst625 always 0001 european closed caption 0.500 001 cc625 0010 vps 5 9951h vps 0011 wide screen signalling bits 5 1e3c1fh wss 0100 us teletext (wst) 5.7272 27h wst525 always 0101 us closed caption (line 21) 0.503 001 cc525 0110 (video data selected) 5 none disable 0111 (raw data selected) 5 none disable 1000 teletext 6.9375 programmable general text optional 1001 vitc/ebu time codes (europe) 1.8125 programmable vitc625 1010 vitc/smpte time codes (usa) 1.7898 programmable vitc525 1011 reserved 1100 us nabts 5.7272 programmable nabts optional 1101 moji (japanese) 5.7272 programmable (a7h) japtext 1110 japanese format switch (l20/22) 5 programmable open 1111 no sliced data transmitted (video data selected) 5 none disable 8.6 image port output formatter (subaddresses 84h to 87h) the output interface consists of a fifo for video and for sliced text data, an arbitration circuit, which controls the mixed transfer of video and sliced text data over the i port and a decoding and multiplexing unit, which generates the 8 or 16-bit wide output data stream and the accompanied reference and supporting information. the clock for the output interface can be derived from an internal clock, decoder, expansion port, or an externally provided clock which is appropriate for e.g. vga and frame buffer. the clock can be up to 33 mhz. the scaler provides the following video related timing reference events (signals), which are available on pins as defined by subaddresses 84h and 85h: ? output field id ? start and end of vertical active video range ? start and end of active video line ? data qualifier or gated clock ? actually activated programming page (if conlh is used) ? threshold controlled fifo filling flags (empty, full, filled) ? sliced data marker. the discontinuous data stream at the scaler output is accompanied by a data valid flag (or data qualifier), or is transported via a gated clock. clock cycles with invalid data on the i port data bus (including the hpd pins in 16-bit output mode) are marked with code 00h. the output interface also arbitrates the transfer between scaled video data and sliced text data over the i port output. the bits vitx1 and vitx0 (subaddress 86h) are used to control the arbitration. as a further operation the serialization of the internal 32-bit dwords to 8-bit or optional 16-bit output, as well as the insertion of the extended itu 656 codes (sav/eav for video data, anc or sav/eav codes for sliced text data) are done here. for handshake with the vga controller, or other memory or bus interface circuitry, programmable fifo flags are provided; see section 8.6.2.
2004 jul 22 62 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.6.1 s caler output formatter ( subaddresses 93h and c3h) the output formatter organizes the packing into the output fifo. the following formats are available: y- c b -c r 4:2:2, y-c b -c r 4:1:1, y-c b -c r 4:2:0, y- c b -c r 4 : 1 : 0 and y only (e.g. for raw samples). the formatting is controlled by fsi[2:0] 93h[2:0], foi[1:0] 93h[4:3] and fysk[93h[5]]. the data formats are de ned on dwords, or multiples, and are similar to the video formats as recommended for pci multimedia applications (compares to saa7146a), but planar formats are not supported. fsi[2:0] defines the horizontal packing of the data, foi[1:0] defines how many y only lines are expected, before a y/c line will be formatted. if fysk is set to logic 0 preceding y only lines will be skipped, and the output will always start with a y/c line. additionally the output formatter limits the amplitude range of the video data (controlled by illv[85h[5]]); see table 18. table 16 byte stream for different output formats table 17 explanation to table 16 table 18 limiting range on i port output format byte sequence for 8-bit output modes y- c b -c r 4:2:2 c b 0y0c r 0y1c b 2y2c r 2y3c b 4y4c r 4y5 c b 6y6 y- c b -c r 4:1:1 c b 0y0c r 0y1c b 4y2c r 4 y3y4 y5y6 y7 c b 8y8 y only y0 y1 y2 y3 y4 y5 y6 y7 y8 y9 y10 y11 y12 y13 name explanation c b nc b (b ? y) colour difference component, pixel number n = 0, 2, 4 to 718 yn y (luminance) component, pixel number n = 0, 1, 2, 3 to 719 c r nc r (r ? y) colour difference component, pixel number n = 0, 2, 4 to 718 limit step illv[85h[5]] valid range suppressed codes (hexadecimal value) decimal value hexadecimal value lower range upper range 0 1 to 254 01 to fe 00 ff 1 8 to 247 08 to f7 00 to 07 f8 to ff 8.6.2 v ideo fifo ( subaddress 86h) the video fifo at the scaler output contains 32 dwords. that corresponds to 64 pixels in 16-bit y-c b -c r 4:2:2 format. but as the entire scaler can act as a pipeline buffer, the actual available buffer capacity for the image port is much higher, and can exceed beyond a video line. the image port, and the video fifo, can operate with the video source clock (synchronous mode) or with an externally provided clock (asynchronous and burst mode), as appropriate for the vga controller or attached frame buffer. the video fifo provides 4 internal flags, reporting to what extent the fifo is actually filled. these are: ? the fifo almost empty (fae) flag ? the fifo combined flag (fcf) or fifo filled, which is set at almost full level and reset, with hysteresis, only after the level crosses below the almost empty mark ? the fifo almost full (faf) flag ? the fifo overflow (fovl) flag. the trigger levels for fae and faf are programmable by ffl[1:0] 86h[3:2] (16, 24, 28, full) and fel[1:0] 86h[1:0] (16, 8, 4, empty). the state of this flag can be seen on the pins igp0 or igp1. the pin mapping is defined by subaddresses 84h and 85h; see section 9.6.
2004 jul 22 63 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.6.3 t ext fifo the data of the internal vbi data slicer is collected in the text fifo before the transmission over the i port is requested (normally before the video window starts). it is partitioned into two fifo sections. a complete line is filled into the fifo before a data transfer is requested. so normally, one line of text data is ready for transfer, while the next text line is collected. thus sliced text data is delivered as a block of qualified data, without any qualification gaps in the byte stream of the i port. the decoded vbi data is collected in the dedicated vbi data fifo. after the capture of a line has been completed, the fifo can be streamed through the image port, preceded by a header, giving line number and standard. the vbi data period can be signalled via the sliced data flag on pin igp0 or igp1. the decoded vbi data is lead by the itu ancillary data header (did[5:0] 5dh[5:0] at value <3eh) or by sav/eav codes selectable by did[5:0] at value 3eh or 3fh. pin igp0 or igp1 is set if the first byte of the anc header is valid on the i port bus. it is reset if an sav occurs. so it may frame multiple lines of text data output, in the event that the video processing starts with a distance of several video lines to the region of text data. valid sliced data from the text fifo is available on the i port as long as the igp0 or igp1 flag is set and the data qualifier is active on pin idq. the decoded vbi data is presented in two different data formats, controlled by bit recode. ? recode = 1: values 00h and ffh will be recoded to even parity values 03h and fch ? recode = 0: values 00h and ffh may occur in the data stream as detected. 8.6.4 v ideo and text arbitration ( subaddress 86h) sliced text data and scaled video data are transferred over the same bus, the i port. the mixed transfer is controlled by an arbitration circuit. if the video data is transferred without any interrupt and the video fifo does not need to buffer any output pixel, the text data is inserted after the end of a scaled video line, normally during the blanking interval of the video. 8.6.5 d ata stream coding and reference signal generation ( subaddresses 84h, 85h and 93h) as h and v reference signals are logic 1, active gate signals are generated, which frame the transfer of the valid output data. as an alternative to the gates, h and v trigger pulses are generated on the rising edges of the gates. due to the dynamic fifo behaviour of the complete scaler path, the output signal timing has no fixed timing relationship to the real-time input video stream. so fixed propagation delays, in terms of clock cycles, related to the analog input cannot be defined. the data stream is accompanied by a data qualifier. additionally invalid data cycles are marked with code 00h. if itu 656 like codes are not required, they can be suppressed in the output stream. as a further option, it is possible to provide the scaler with an external gating signal on pin itrdy. thereby making it possible to hold the data output for a certain time and to get valid output data in bursts of a guaranteed length. the sketched reference signals and events can be mapped to the i port output pins idq, igph, igpv, igp0 and igp1. for flexible use the polarities of all the outputs can be modified. the default polarity for the qualifier and reference signals is logic 1 (active). table 19 shows the relevant and supported sav and eav coding.
2004 jul 22 64 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 64 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... table 19 sav/eav codes on i port notes 1. the leading byte sequence is: ffh-00h-00h. 2. the msb of the sav/eav code byte is controlled by: a) scaler output data: task a ? msb = conlh[90h[7]]; task b ? msb = conlh[c0h[7]]. b) vbi data slicer output data: did[5:0] 5dh[5:0] = 3eh ? msb = 1; did[5:0] 5dh[5:0] = 3fh ? msb = 0. event description sav/eav codes on i port (1) (hex) comment msb (2) of sav/eav byte = 0 msb (2) of sav/eav byte = 1 field id = 0 field id = 1 field id = 0 field id = 1 next pixel is first pixel of any active line 0e 49 80 c7 href = active; vref = active previous pixel was last pixel of any active line, but not the last 13 54 9d da href = inactive; vref = active next pixel is first pixel of any v-blanking line 25 62 ab ec href = active; vref = inactive previous pixel was last pixel of the last active line or of any v-blanking line 38 7f b6 f1 href = inactive; vref = inactive no valid data, don?t capture and don?t increment pointer 00 idq pin inactive mhb549 00 00 ff 00 00 sav sdid dc idi1 idi2 d 1_3 d 1_4 d 2_1 d dc_3 d dc_4 cs bc ff 00 00 eav 00 00 ... ... ... ... d 1_2 d 1_1 ... ff 00 00 eav 00 ff ff did sdid dc idi1 idi2 d 1_3 d 1_4 d dc_3 d dc_4 cs bc 00 00 ... anc header internal header sliced data anc data output is only filled up to the dword boundary timing reference code invalid data or end of raw vbi line timing reference code internal header sliced data invalid data and filling data fig.37 sliced data formats on the i port in 8-bit mode. anc header active for did (subaddress 5dh) <3eh
2004 jul 22 65 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 20 explanation to fig.37 notes 1. inverted ep (bit d7); for ep see note 2. 2. even parity (bit d6) of bits d5 to d0. 3. odd parity (bit d7) of bits d6 to d0. name explanation sav start of active data; see table 21 sdid sliced data identi cation: nep (1) , ep (2) , sdid5 to sdid0, freely programmable via i 2 c-bus subaddress 5eh, d5 to d0, e. g. to be used as source identi er dc dword count: nep (1) , ep (2) , dc5 to dc0. dc describes the number of succeeding 32-bit words: ? for sav/eav mode dc is fixed to 11 dwords (byte value 4bh) ? for anc mode it is: dc = 1 ? 4 (c + n), where c = 2 (the two data identification bytes idi1 and idi2) and n = number of decoded bytes according to the chosen text standard. it should be noted that the number of valid bytes inside the stream can be seen in the bc byte. idi1 internal data identi cation 1: op (3) , fid ( eld 1 = 0, eld 2 = 1), linenumber8 to linenumber3 = dword 1 byte 1; see table 21 idi2 internal data identi cation 2: op (3) , linenumber2 to linenumber0, datatype3 to datatype0 = dword 1 byte 2; see table 21 d n_m dword number n , byte number m d dc_4 last dword byte 4, note: for sav/eav framing dc is xed to 0bh, missing data bytes are lled up; the ll value is a0h cs the check sum byte, the check sum is accumulated from the sav (respectively did) byte to the d dc_4 byte bc number of valid sliced bytes counted from the idi1 byte eav end of active data; see table 21
2004 jul 22 66 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 21 bytes stream of the data slicer notes 1. nep = inverted ep (see note 2). 2. ep = even parity of bits d5 to d0. 3. fid = 0: field 1; fid = 1: field 2. 4. i1 = 0 and i0 = 0: before line 1; i1 = 0 and i0 = 1: lines 1 to 23; i1 = 1 and i0 = 0: after line 23; i1 = 1 and i0 = 1: line 24 to end of field. 5. subaddress 5dh at 3eh and 3fh are used for itu 656 like sav/eav header generation; recommended value. 6. v = 0: active video; v = 1: blanking. 7. h = 0: start of line; h = 1: end of line. 8. dc = data count in dwords according to the data type. 9. op = odd parity of bits d6 to d0. 10. ln = line number. 11. dt = data type according to table. nick name comment d7 d6 d5 d4 d3 d2 d1 d0 did, sav, eav subaddress 5dh = 00h nep (1) ep (2) 0 1 0 fid (3) i1 (4) i0 (4) subaddress 5dh; d5 = 1 nep (1) ep (2) 0 d4[5dh] d3[5dh] d2[5dh] d1[5dh] d0[5dh] subaddress 5dh d5 = 3eh; note 5 1 fid (3) v (6) h (7) p3 p2 p1 p0 subaddress 5dh d5 = 3fh; note 5 0 fid (3) v (6) h (7) p3 p2 p1 p0 sdid programmable via subaddress 5eh nep (1) ep (2) d5[5eh] d4[5eh] d3[5eh] d2[5eh] d1[5eh] d0[5eh] dc (8) nep (1) ep (2) dc5 dc4 dc3 dc2 dc1 dc0 idi1 op (9) fid (3) ln8 (10) ln7 (10) ln6 (10) ln5 (10) ln4 (10) ln3 (10) idi2 op (9) ln2 (10) ln1 (10) ln0 (10) dt3 (11) dt2 (11) dt1 (11) dt0 (11) cs check sum byte cs6 cs6 cs5 cs4 cs3 cs2 cs1 cs0 bc valid byte count op (9) 0 cnt5 cnt4 cnt3 cnt2 cnt1 cnt0
2004 jul 22 67 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.7 audio clock generation (subaddresses 30h to 3fh) the saa7118 incorporates the generation of a field-locked audio clock as an auxiliary function for video capture. an audio sample clock, that is locked to the field frequency, ensures that there is always the same predefined number of audio samples associated with a field, or a set of fields. this ensures synchronous playback of audio and video after digital recording (e.g. capture to hard disk), mpeg or other compression, or non-linear editing. 8.7.1 m aster audio clock the audio clock is synthesized from the same crystal frequency as the line-locked video clock is generated. the master audio clock is defined by the parameters: ? audio master clocks per field, acpf[17:0] 32h[1:0] 31h[7:0] 30h[7:0] according to the equation: ? audio master clocks nominal increment, acni[21:0] 36h[5:0] 35h[7:0] 34h[7:0] according to the equation: see table 22 for examples. remark : for standard applications the synthesized audio clock amclk can be used directly as master clock and as input clock for port amxclk (short cut) to generate asclk and alrclk. for high-end applications it is recommended to use an external analog pll circuit to enhance the performance of the generated audio clock. acpf[17:0] round audio frequency field frequency ------------------------------------------ ?? ?? = acni[21:0] round audio frequency crystal frequency -------------------------------------------- - 2 23 ?? ?? = table 22 programming examples for audio master clock generation xtalo (mhz) field (hz) acpf acni decimal hex decimal hex amclk = 256 48 khz (12.288 mhz) 32.11 50 245760 3c000 3210190 30fbce 59.94 205005 320cd 3210190 30fbce 24.576 50 ???? 59.94 ???? amclk = 256 44.1 khz (11.2896 mhz) 32.11 50 225792 37200 2949362 2d00f2 59.94 188348 2dfbc 2949362 2d00f2 24.576 50 225792 37200 3853517 3acccd 59.94 188348 2dfbc 3853 517 3acccd amclk = 256 32 khz (8.192 mhz) 32.11 50 163840 28000 2140127 20a7df 59.94 136670 215de 2140127 20a7df 24.576 50 163840 28000 2796203 2aaaab 59.94 136670 215de 2796203 2aaaab
2004 jul 22 68 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 8.7.2 s ignals asclk and alrclk two binary divided signals asclk and alrclk are provided for slower serial digital audio signal transmission and for channel-select. the frequencies of these signals are defined by the following parameters: ? sdiv[5:0] 38h[5:0] according to the equation: ? ? lrdiv[5:0] 39h[5:0] according to the equation: ? see table 23 for examples. table 23 programming examples for asclk/alrclk clock generation 8.7.3 o ther control signals further control signals are available to define reference clock edges and vertical references; see table 24. table 24 control signals for reference clock edges and vertical references amxclk (mhz) asclk (khz) sdiv alrclk (khz) lrdiv decimal hex decimal hex 12.288 1536 3 03 48 16 10 768 7 07 8 08 11.2896 1411.2 3 03 44.1 16 10 2822.4 1 01 32 10 8.192 1024 3 03 32 16 10 2048 1 01 32 10 signal description apll[3ah[3]] audio pll mode 0 = pll closed 1 = pll open amvr[3ah[2]] audio master clock vertical reference 0 = internal v 1 = external v lrph[3ah[1]] alrclk phase 0 = invert asclk, alrclk edges triggered by falling edge of asclk 1 = don?t invert asclk, alrclk edges triggered by rising edge of asclk scph[3ah[0]] asclk phase 0 = invert amxclk, asclk edges triggered by falling edge of amxclk 1 = don?t invert amxclk, asclk edges triggered by rising edge of amxclk f asclk f amxclk sdiv 1 + () 2 ------------------------------------- - = sdiv[5:0] f amxclk 2f asclk ------------------- - 1 ? = f alrclk f asclk lrdiv 2 -------------------------- - = lrdiv[5:0] f asclk 2f alrclk ---------------------- - =
2004 jul 22 69 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 9 input/output interfaces and ports the saa7118 has 5 different i/o interfaces: ? analog video input interface, for analog cvbs and/or y and c input signals and/or component video signals ? audio clock port ? digital real-time signal port (rt port) ? digital video expansion port (x port), for unscaled digital video input and output ? digital image port (i port) for scaled video data output and programming ? digital host port (h port) for extension of the image port or expansion port from 8 to 16-bit. 9.1 analog terminals the saa7118 has 16 analog inputs ai41 to ai44, ai31 to ai34, ai21 to ai24 and ai11 to ai14 for composite video cvbs or s-video y/c signal pairs or component video input signals rgb plus separate sync (or y-p b -p r plus separate sync). component signals with e.g. sync-on-y or sync-on-green are also supported; they are fed to two adc channels, one for the video contents, the other for sync conversion. additionally, there are four differential reference inputs, which must be connected to ground via a capacitor equivalent to the decoupling capacitors at the 16 inputs. there are no peripheral components required other than these decoupling capacitors and 18 ? /56 ? termination resistors, one set per connected input signal; see application example in fig.47. four anti-alias filters are integrated. clamp and gain control for the four adcs are also integrated. an analog video output (pin aout) is provided for testing purposes. table 25 analog pin description note 1. pin numbers for qfp160 in parenthesis. symbol pin (1) i/o description bit ai11 to ai14 j2, k1, k2 and l3 (27, 29, 31 and 34) i analog video signal inputs, e.g. 16 cvbs signals or eight y/c pairs, or four rgb plus separate sync (or y-p b -p r plus separate sync) signal groups can be connected simultaneously to this device; many combinations are possible; see figs 51 to 91 mode5 to mode0 ai21 to ai24 g4, g3, h2 and j3 (19, 21, 23 and 26) ai31 to ai34 e3, f2, f3 and g1 (11, 13, 15 and 18) ai41 to ai44 b1, d2, d1 and e1 (2, 5, 7 and 10) aout m1 (36) o analog video output, for test purposes aosl2 to aosl0 ai1d, ai2d, ai3d and ai4d k3, h1, f1 and d3 (30, 22, 14 and 6) i analog reference pins for differential adc operation; connect to ground via 47 nf ?
2004 jul 22 70 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 9.2 audio clock signals the saa7118 also synchronizes the audio clock and sampling rate to the video frame rate, via a very slow pll. this ensures that the multimedia capture and compression processes always gather the same predefined number of samples per video frame. an audio master clock amclk and two divided clocks asclk and alrclk are generated: ? asclk: can be used as audio serial clock ? alrclk: audio left/right channel clock. the ratios are programmable; see section 8.7. table 26 audio clock pin description note 1. pin numbers for qfp160 in parenthesis. symbol pin (1) i/o description bit amclk p11 (72) o audio master clock output acpf[17:0] 32h[1:0] 31h[7:0] 30h[7:0] and acni[21:0] 36h[5:0] 35h[7:0] 34h[7:0] amxclk m12 (76) i external audio master clock input for the clock division circuit, can be directly connected to output amclk for standard applications ? asclk n11 (74) o serial audio clock output, can be synchronized to rising or falling edge of amxclk sdiv[5:0] 38h[5:0] and scph[3ah[0]] alrclk p12 (75) o audio channel (left/right) clock output, can be synchronized to rising or falling edge of asclk lrdiv[5:0] 39h[5:0] and lrph[3ah[1]] 9.3 clock and real-time synchronization signals for the generation of the line-locked video (pixel) clock llc, and of the frame-locked audio serial bit clock, a crystal accurate frequency reference is required. an oscillator is built-in for fundamental or third harmonic crystals. the supported crystal frequencies are 32.11 or 24.576 mhz (defined during reset by strapping pin alrclk). alternatively pin xtali can be driven from an external single-ended oscillator. the crystal oscillation can be propagated as a clock to other ics in the system via pin xtout. the line-locked clock (llc) is the double pixel clock of nominal 27 mhz. it is locked to the selected video input, generating baseband video pixels according to ?itu recommendation 601? . in order to support interfacing circuits, a direct pixel clock (llc2) is also provided. the pins for line and field timing reference signals are rtco, rts1 and rts0. various real-time status information can be selected for the rts pins. the signals are always available (output) and reflect the synchronization operation of the decoder part in the saa7118. the function of the rts1 and rts0 pins can be defined by bits rtse1[3:0] 12h[7:4] and rtse0[3:0] 12h[3:0].
2004 jul 22 71 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 27 clock and real-time synchronization signals note 1. pin numbers for qfp160 in parenthesis. symbol pin (1) i/o description bit crystal oscillator xtali b4 (155) i input for crystal oscillator or reference clock ? xtalo a3 (156) o output of crystal oscillator ? xtout a2 (158) o reference (crystal) clock output drive (optional) xtoute[14h[3]] real-time signals (rt port) llc p4 (46) o line-locked clock, nominal 27 mhz, double pixel clock locked to the selected video input signal ? llc2 n5 (48) o line-locked pixel clock, nominal 13.5 mhz ? rtco l10 (71) o real-time control output, transfers real-time status information supporting rtc level 3.1 (see document ?rtc functional description? , available on request) ? rts0 m10 (69) o real-time status information line 0, can be programmed to carry various real-time information; see table 57 rtse0[3:0] 12h[3:0] rts1 n10 (70) o real-time status information line 1, can be programmed to carry various real-time information; see table 58 rtse1[3:0] 12h[7:4] 9.4 interrupt handling 9.4.1 i nterrupt flags the pin int_a is an open-drain output (active low). all flags can be independently enabled. for the default setting all flags are disabled after reset. for the description of interrupt mask registers; see section 15.4. 9.4.1.1 power state prdon: a power fail has been detected during normal operation, the device needs re-programming. 9.4.1.2 video decoder intl: interlaced/non-interlaced source detected. hlck: horizontal pll state changed (locked ? unlocked). hlvln: vertical lock state changed (locked ? unlocked). fidt: detected field frequency has changed (50 hz ? 60 hz). rdcap: ready for capture (true ? false). dcstd[1:0]: detected colour standard has changed or colour lost. copro, colstr and type3: various levels of copy protection have changed. 9.4.1.3 vbi data slicer vpsv: vps identification found or lost. ppv: palplus identification found or lost. ccv: closed caption identification found or lost. 9.4.1.4 scaler errof: scaler output formatting error detected. 9.4.2 s tatus reading conditions the status information read after an interrupt will always be the latest state, that means the status will not be ?frozen? when an interrupt is being generated. therefore, if there is a long time between interrupt generation and status reading, the original trigger condition might have been overridden by the present state.
2004 jul 22 72 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 9.4.3 e rasing conditions the status flags are grouped into four 8-bit registers. the interrupt flag will only be cleared on a read access to the status register in which the signal is located which caused the interrupt. this implies that it is sufficient to clear the interrupt by reading only those registers which have been enabled by their corresponding masks. priority: if a new trigger condition occurs at the same time (clock) on which a status is being read, the flag will not be cleared. 9.5 video expansion port (x port) the expansion port is intended for transporting video streams image data from other digital video circuits such as mpeg encoder/decoder and video phone codec, to the image port (i port). the expansion port consists of two groups of signals/pins: ? 8-bit data, i/o, regularly components video y-c b -c r 4 : 2 : 2, i.e. c b -y-c r -y, byte serial, exceptionally raw video samples (e.g. adc test). in input mode the data bus can be extended to 16-bit by pins hpd7 to hpd0. ? clock, synchronization and auxiliary signals, accompanying the data stream, i/o. as output, these are direct copies of the decoder signals. the data transfers through the expansion port represent a single d1 port, with half duplex mode. the sav and eav codes may be inserted optionally for data input (controlled by bit xcode[92h[3]]). the input/output direction is switched for complete fields only. table 28 signals dedicated to the expansion port note 1. pin numbers for qfp160 in parenthesis. symbol pin (1) i/o description bit xpd7 to xpd0 c11, a11, b10, a10, b9, a9, b8 and a8 (127, 128, 130, 131, 134, 135, 138 and 139) i/o x port data: in output mode controlled by decoder section, data format see table 29; in input mode y-c b -c r 4:2:2 serial input data or luminance part of a 16-bit y- c b -c r 4 : 2 : 2 input ofts[2:0] 13h[2:0], 91h[7:0] and c1h[7:0] xclk a7 (143) i/o clock at expansion port: if output, then copy of llc; as input normally a double pixel clock of up to 32 mhz or a gated clock (clock gated with a quali er) xcks[92h[0]] xdq b7 (144) i/o data valid ag of the expansion port input (quali er): if output, then decoder (href and vgate) gate (see fig.30) ? xrdy a6 (146) o data request ag = ready to receive, to work with optional buffer in external device, to prevent internal buffer over ow; second function: input related task ag a/b xrqt[83h[2]] xrh c7 (141) i/o horizontal reference signal for the x port: as output: href or hs from the decoder (see fig.30); as input: a reference edge for horizontal input timing and a polarity for input eld id detection can be de ned xrhs[13h[6]], xfdh[92h[6]] and xdh[92h[2]] xrv d8 (140) i/o vertical reference signal for the x port: as output: v123 or eld id from the decoder, see figs 28 and 29; as input: a reference edge for vertical input timing and for input eld id detection can be de ned xrvs[1:0] 13h[5:4], xfdv[92h[7]] and xdv[1:0] 92h[5:4] xtri b11 (126) i port control: switches x port input 3-state xpe[1:0] 83h[1:0]
2004 jul 22 73 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 9.5.1 x port configured as output if data output is enabled at the expansion port, then the data stream from the decoder is presented. the data format of the 8-bit data bus is dependent on the chosen data type, selectable by the line control registers lcr2 to lcr24; see table 4. in contrast to the image port, the sliced data format is not available on the expansion port. instead, raw cvbs samples are always transferred if any sliced data type is selected. some details of data types on the expansion port are as follows: ? active video (data type 15): contains component y-c b -c r 4 : 2 : 2 signal, 720 active pixels per line. the amplitude and offsets are programmable via dbri7 to dbri0, dcon7 to dcon0, dsat7 to dsat0, offu1, offu0, offv1 and offv0. the nominal levels are illustrated in fig.19. ? test line (data type 6): is similar to the active video format, with some constraints within the data processing: ? adaptive chrominance comb filter, vertical filter (chrominance comb filter for ntsc standards, pal phase error correction) within the chrominance processing are disabled ? adaptive luminance comb filter, peaking and chrominance trap are bypassed within the luminance processing. this data type is defined for future enhancements. it could be activated for lines containing standard test signals within the vertical blanking period. currently the most sources do not contain test lines. the nominal levels are illustrated in fig.19. ? raw samples (data types 0 to 5 and 7 to 14): c b -c r samples are similar to data type 6, but cvbs samples are transferred instead of processed luminance samples within the y time slots. the amplitude and offset of the cvbs signal is programmable via rawg7 to rawg0 and rawo7 to rawo0; see chapter 15, tables 64 and 65. the nominal levels are illustrated in fig.20. the relationship of lcr programming to line numbers is described in section 8.3, tables 5 to 8. the data type selections by lcr are overruled by setting ofts2 = 1 (subaddress 13h bit d2). this setting is mainly intended for device production test. the vpo-bus carries the upper or lower 8 bits of the two adcs depending on the ofts[1:0] 13h[1:0] settings; see table 59. the input configuration is done via mode[5:0] 02h[5:0] settings; see table 41. if a y/c mode is selected, the expansion port carries the multiplexed output signals of both adcs, and in cvbs mode the output of only one adc. no timing reference codes are generated in this mode. remark : the lsbs (bit d0) of the adcs are also available on pin rts0; see table 57. the sav/eav timing reference codes define the start and end of valid data regions. the itu-blanking code sequence ?- 80 - 10 - 80 - 10 -...? is transmitted during the horizontal blanking period between eav and sav. the position of the f-bit is constant in accordance with itu 656; see tables 31 and 32. the v-bit can be generated in two different ways (see tables 31 and 32) controlled via ofts1 and ofts0; see table 59. the f and v bits change synchronously with the eav code. table 29 data format on the expansion port notes 1. the generation of the timing reference codes can be suppressed by setting ofts[2:0] to 010; see table 59. in this event the code sequence is replaced by the standard ?- 80 - 10 -? blanking values. 2. if raw samples or sliced data are selected by the line control registers (lcr2 to lcr24), the y samples are replaced by cvbs samples. blanking period timing reference code (hex) (1) 720 pixels y-c b -c r 4:2:2 data (2) timing reference code (hex) (1) blanking period ... 80 10 ff 00 00 sav c b 0y0c r 0y1c b 2 y2 ... c r 718 y719 ff 00 00 eav 80 10 ...
2004 jul 22 74 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 30 sav/eav format on expansion port xpd7 to xpd0 table 31 525 lines/60 hz vertical timing table 32 625 lines/50 hz vertical timing bit d7 bit d6 (f) bit d5 (v) bit d4 (h) bit d3 (p3) bit d2 (p2) bit d1 (p1) bit d0 (p0) 1 eld bit vertical blanking bit format reserved; evaluation not recommended (protection bits according to itu 656) 1st field: f = 0 2nd field: f = 1 vbi: v = 1 active video: v = 0 h = 0 in sav format h = 1 in eav format for vertical timing see tables 31 and 32 line number f (itu 656) v ofts[2:0] = 000 (itu 656) ofts[2:0] = 001 1 to 3 1 1 according to selected vgate position type via vsta and vsto (subaddresses 15h to 17h); see tables 61 to 63 4to19 0 1 20 0 0 21 0 0 22 to 261 0 0 262 0 0 263 0 0 264 and 265 0 1 266 to 282 1 1 283 1 0 284 1 0 285 to 524 1 0 525 1 0 line number f (itu 656) v ofts[2:0] = 000 (itu 656) ofts[1:0] = 10 1 to 22 0 1 according to selected vgate position type via vsta and vsto (subaddresses 15h to 17h); see tables 61 to 63 23 0 0 24 to 309 0 0 310 0 0 311 and 312 0 1 313 to 335 1 1 336 1 0 337 to 622 1 0 623 1 0 624 and 625 1 1
2004 jul 22 75 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 9.5.2 x port configured as input if the data input mode is selected at the expansion port, then the scaler can select its input data stream from the on-chip video decoder, or from the expansion port (controlled by bit scsrc[1:0] 91h[5:4]). byte serial y-c b -c r 4 : 2 : 2, or subsets for other sampling schemes, or raw samples from an external adc may be input (see also bits fsc[2:0] 91h[2:0]). the input stream must be accompanied by an external clock (xclk), qualifier xdq and reference signals xrh and xrv. instead of the reference signal, embedded sav and eav codes according to itu 656 are also accepted. the protection bits are not evaluated. xrh and xrv carry the horizontal and vertical synchronization signals for the digital video stream through the expansion port. the field id of the input video stream is carried in the phase (edge) of xrv and state of xrh, or directly as fs (frame sync, odd/even signal) on the xrv pin (controlled by xfdv[92h[7]], xfdh[92h[6]] and xdv[1:0] 92h[5:4]). the trigger events on xrh (rising/falling edge) and xrv (rising/falling/both edges) for the scalers acquisition window are defined by xdv[1:0] 92h[5:4] and xdh[92h[2]]. the signal polarity of the qualifier can also be defined (bit xdq[92h[1]]). alternatively to a qualifier, the input clock can be applied to a gated clock (clock gated with a data qualifier, controlled by bit xcks[92h[0]]). in this event, all input data will be qualified. as the vbi data slicer may have different requirements for its input reference signals from x port xrv, xrh, xdq, xclk and xpd7 to xpd0, a second set of parameters is available for defining the meaning of the x port input signals and polarities for the vbi data slicer input path. these bits are defined in subaddresses 81h and 82h. 9.6 image port (i port) the image port transfers data from the scaler as well as from the vbi data slicer, if selected (maximum 33 mhz). the reference clock is available at the iclk pin, as an output, or as an input (maximum 33 mhz). as output, iclk is derived from the line-locked decoder or expansion port input clock. the data stream from the scaler output is normally discontinuous. therefore valid data during a clock cycle is accompanied by a data qualifying (data valid) flag on pin idq. for pin constrained applications the idq pin can be programmed to function as a gated clock output (bit icks2[80h[2]]). the data formats at the image port are defined in dwords of 32 bits (4 bytes), such as the related fifo structures. however the physical data stream at the image port is only 16-bit or 8-bit wide; in 16-bit mode data pins hpd7 to hpd0 are used for chrominance data. the four bytes of the dwords are serialized in words or bytes. available formats are as follows: ? y-c b -c r 4:2:2 ? y-c b -c r 4:1:1 ? raw samples ? decoded vbi data. for handshake with the receiving vga controller, or other memory or bus interface circuitry, f, h and v reference signals and programmable fifo flags are provided. the information is provided on pins igp0, igp1, igph and igpv. the functionality on these pins is controlled via subaddresses 84h and 85h. vbi data is collected over an entire line in its own fifo, and transferred as an uninterrupted block of bytes. decoded vbi data can be signed by the vbi flag on pin igp0 or igp1. as scaled video data and decoded vbi data may come from different and asynchronous sources, an arbitration scheme is needed. normally the vbi data slicer has priority. the image port consists of the pins and/or signals, as listed in table 33. for pin constrained applications, or interfaces, the relevant timing and data reference signals can also get encoded into the data stream. therefore the corresponding pins do not need to be connected. the minimum image port configuration requires 9 pins only, i.e. 8 pins for data including codes, and 1 pin for clock or gated clock. the inserted codes are defined in close relationship to the itu-r bt.656 (d1) recommendation, where possible.
2004 jul 22 76 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 the following deviations from ?itu 656 recommendation? are implemented at the saa7118 image port interface: ? sav and eav codes are only present in those lines, where data is to be transferred, i.e. active video lines, or vbi raw samples, no codes for empty lines ? there may be more or less than 720 pixels between sav and eav ? data content and the number of clock cycles during horizontal and vertical blanking is undefined, and may not be constant ? data stream may be interleaved with not-valid data codes, 00h, but sav and eav 4-byte codes are not interleaved with not-valid data codes ? there may be an irregular pattern of not-valid data, or idq, and as a result, c b -y-c r -y is not in a fixed phase to a regular clock divider ? vbi raw sample streams are enveloped with sav and eav, like normal video ? decoded vbi data is transported as ancillary (anc) data, two modes: ? direct decoded vbi data bytes (8-bit) are directly placed in the anc data field, 00h and ffh codes may appear in data block (violation to itu-r bt.656) ? recoded vbi data bytes (8-bit) directly placed in anc data field, 00h and ffh codes will be recoded to even parity codes 03h and fch to suppress invalid itu-r bt.656 codes. there are no empty cycles in the ancillary code and its data field. the data codes 00h and ffh are suppressed (changed to 01h or feh respectively) in the active video stream, as well as in the vbi raw sample stream (vbi pass-through). optionally, the number range can be further limited. table 33 signals dedicated to the image port note 1. pin numbers for qfp160 in parenthesis. symbol pin (1) i/o description bit ipd7 to ipd0 k11, j13, j14, h13, h14, h11, g12 and g14 (92 to 94, 97 to 100 and 102) i/o i port data icode[93h[7]], iswp[1:0] 85h[7:6] and ipe[1:0] 87h[1:0] iclk m14 (84) i/o continuous reference clock at image port, can be input or output, as output decoder llc or xclk from x port icks[1:0] 80h[1:0] and ipe[1:0] 87h[1:0] idq l13 (85) o data valid ag at image port, quali er, with programmable polarity; secondary function: gated clock icks2[80h[2]], idqp[85h[0]] and ipe[1:0] 87h[1:0] igph k12 (91) o horizontal reference output signal, copy of the h gate signal of the scaler, with programmable polarity; alternative function: hreset pulse idh[1:0] 84h[1:0], irhp[85h[1]] and ipe[1:0] 87h[1:0] igpv k14 (90) o vertical reference output signal, copy of the v gate signal of the scaler, with programmable polarity; alternative function: vreset pulse idv[1:0] 84h[3:2], irvp[85h[2]] and ipe[1:0] 87h[1:0] igp1 k13 (89) o general purpose output signal for i port idg12[86h[4]], idg1[1:0] 84h[5:4], ig1p[85h[3]] and ipe[1:0] 87h[1:0] igp0 l14 (87) o general purpose output signal for i port idg02[86h[5]], idg0[1:0] 84h[7:6], ig0p[85h[4]] and ipe[1:0] 87h[1:0] itrdy n12 (77) i target ready input signals ? itri l12 (86) i port control, switches i port into 3-state ipe[1:0] 87h[1:0]
2004 jul 22 77 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 9.7 host port for 16-bit extension of video data i/o (h port) the h port pins hpd can be used for extension of the data i/o paths to 16-bit. the i port has functional priority. if i8_16[93h[6]] is set to logic 1 the output drivers of the h port are enabled depending on the i port enable control. for i8_16 = 0, the hpd output is disabled. table 34 signals dedicated to the host port note 1. pin numbers for qfp160 in parenthesis. symbol pin (1) i/o description bit hpd7 to hpd0 g13, f14, f13, e14, e12, e13, e11 and d14 (103, 105, 107 and 109 to 113) i/o 16-bit extension for digital i/o (chrominance component) ipe[1:0] 87h[1:0], itri[8fh[6]] and i8_16[93h[6]] 9.8 basic input and output timing diagrams i port and x port 9.8.1 i port output timing the following diagrams illustrate the output timing via the i port. igph and igpv are logic 1 active gate signals. if reference pulses are programmed, these pulses are generated on the rising edge of the logic 1 active gates. valid data is accompanied by the output data qualifier on pin idq. in addition invalid cycles are marked with output code 00h. the idq output pin may be defined to be a gated clock output signal (iclk and internal idq). 9.8.2 x port input timing at the x port the input timing requirements are the same as those for the i port output. but different to those below: ? it is not necessary to mark invalid cycles with a 00h code ? no constraints on the input qualifier (can be a random pattern) ? xclk may be a gated clock (xclk and external xdq). remark : all timings illustrated in figs 38 to 44 are given for an uninterrupted output stream (no handshake with the external hardware). fig.38 output timing i port for serial 8-bit data at start of a line (icode = 1). ipd [ 7:0 ] igph idq iclk 00 ff 00 00 sav 00 c b y c r y00 c b y c r y00 mhb550
2004 jul 22 78 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 fig.39 output timing i port for serial 8-bit data at start of a line (icode = 0). ipd [ 7:0 ] igph idq iclk 00 c b y c r y00 c b y c r y00 mhb551 fig.40 output timing i port for serial 8-bit data at end of a line (icode = 1). ipd [ 7:0 ] igph idq iclk 00 c b y c r y00 c b y c r y00ff0000eav00 mhb552
2004 jul 22 79 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 fig.41 output timing i port for serial 8-bit data at end of a line (icode = 0). ipd [ 7:0 ] igph idq iclk 00 c b y c r y00 c b y c r y00 mhb553 fig.42 output timing for 16-bit data output via i port and h port with codes (icode = 1), timing is like 8-bit output, but packages of 2 bytes per valid cycle. ipd [ 7:0 ] hpd [ 7:0 ] igph idq iclk 00 ff 00 00 y0 y1 00 y2 y3 y n ? 1 y n 00 ff 00 00 mhb554 00 00 sav 00 00 c b c b c r c r c r c b 00 00 eav 00
2004 jul 22 80 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, full pagewidth igpv igph idq mhb555 fig.43 h gate and v gate output timing. handbook, full pagewidth mhb733 ipd [ 7:0 ] hpd [ 7:0 ] sliced data flag on igp0 or igp1 idq iclk 00 00 ff ff did sdid xx yy zz cs bc 00 00 00 00 ff 00 sav 00 00 00 bc ff eav fig.44 output timing for sliced vbi data in 8-bit serial output mode (dotted graphs for sav/eav mode).
2004 jul 22 81 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 10 boundary scan test the saa7118 has built-in logic and 5 dedicated pins to support boundary scan testing which allows board testing without special hardware (nails). the saa7118 follows the ?ieee std. 1149.1 - standard test access port and boundary-scan architecture? set by the joint test action group (jtag) chaired by philips. the 5 special pins are test mode select (tms), test clock (tck), test reset ( trst), test data input (tdi) and test data output (tdo). the boundary scan test (bst) functions bypass, extest, intest, sample, clamp and idcode are all supported; see table 35. details about the jtag bst-test can be found in specification ? ieee std. 1149.1? . a file containing the detailed boundary scan description language (bsdl) description of the saa7118 is available on request. table 35 bst instructions supported by the saa7118 instruction description bypass this mandatory instruction provides a minimum length serial path (1 bit) between tdi and tdo when no test operation of the component is required. extest this mandatory instruction allows testing of off-chip circuitry and board level interconnections. sample this mandatory instruction can be used to take a sample of the inputs during normal operation of the component. it can also be used to preload data values into the latched outputs of the boundary scan register. clamp this optional instruction is useful for testing when not all ics have bst. this instruction addresses the bypass register while the boundary scan register is in external test mode. idcode this optional instruction will provide information on the components manufacturer, part number and version number. intest this optional instruction allows testing of the internal logic (no customer support available). user1 this private instruction allows testing by the manufacturer (no customer support available). 10.1 initialization of boundary scan circuit the test access port (tap) controller of an ic should be in the reset state (test_logic_reset) when the ic is in functional mode. this reset state also forces the instruction register into a functional instruction such as idcode or bypass. to solve the power-up reset, the standard specifies that the tap controller will be forced asynchronously to the test_logic_reset state by setting the trst pin low. 10.2 device identi cation codes a device identification register is specified in ?ieee std. 1149.1b-1994? . it is a 32-bit register which contains fields for the specification of the ic manufacturer, the ic part number and the ic version number. its biggest advantage is the possibility to check for the correct ics mounted after production and determination of the version number of ics during field service. when the idcode instruction is loaded into the bst instruction register, the identification register will be connected between pins tdi and tdo of the ic. the identification register will load a component specific code during the capture_data_register state of the tap controller and this code can subsequently be shifted out. at board level this code can be used to verify component manufacturer, type and version number. the device identification register contains 32 bits, numbered 31 to 0, where bit d31 is the most significant bit (nearest to tdi) and bit d0 is the least significant bit (nearest to tdo); see fig.45.
2004 jul 22 82 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, full pagewidth mhb734 00000010101 0111000100011000 nnnn 4-bit version code 16-bit part number 11-bit manufacturer identification tdi tdo 31 msb lsb 28 27 12 11 1 0 1 fig.45 32 bits of identification code. 11 limiting values in accordance with the absolute maximum rating system (iec 60134); all ground pins connected together and grounded (0 v); all supply pins connected together. notes 1. condition for maximum voltage at digital inputs or i/o pins: 3.0 v < v ddd < 3.6 v. 2. class 2 according to eia/jesd22-114-b. 3. class a according to eia/jesd22-115-a. 12 thermal characteristics note 1. the overall r th(j-a) value can vary depending on the board layout. to minimize the effective r th(j-a) all power and ground pins must be connected to the power and ground layers directly. an ample copper area direct under the saa7118 with a number of through-hole plating, which connect to the ground layer (four-layer board: second layer), can also reduce the effective r th(j-a) . please do not use any solder-stop varnish under the chip. in addition the usage of soldering glue with a high thermal conductance after curing is recommended. symbol parameter conditions min. max. unit v ddd digital supply voltage ? 0.5 +4.6 v v dda analog supply voltage ? 0.5 +4.6 v v i(a) input voltage at analog inputs ? 0.5 +4.6 v v i(n) input voltage at pins xtali, sda and scl ? 0.5 v ddd + 0.5 v v i(d) input voltage at digital inputs or i/o pins outputs in 3-state ? 0.5 +4.6 v outputs in 3-state; note 1 ? 0.5 +5.5 v ? v ss voltage difference between v ssa(n) and v ssd(n) ? 100 mv t stg storage temperature ? 65 +150 c t amb ambient temperature 0 70 c v esd electrostatic discharge voltage human body model; note 2 ? 2000 v machine model; note 3 ? 150 v symbol parameter conditions value unit r th(j-a) thermal resistance from junction to ambient in free air saa7118e 38 (1) k/w saa7118h 29 (1) k/w
2004 jul 22 83 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 13 characteristics v ddd = 3.0 to 3.6 v; v dda = 3.1 to 3.5 v; t amb = 0 to 70 c (typical values measured at t amb =25 c); timings and levels refer to drawings and conditions illustrated in fig.46; unless otherwise speci ed. symbol parameter conditions min. typ. max. unit supplies v ddd digital supply voltage 3.0 3.3 3.6 v i ddd digital supply current x port 3-state; 8-bit i port ? 85 ? ma p d power dissipation digital part ? 280 ? mw v dda analog supply voltage 3.1 3.3 3.5 v i dda analog supply current aosl1 and aosl0 = 0 cvbs mode ? 75 ? ma y/c mode ? 130 ? ma component mode ? 250 ? ma p a power dissipation analog part cvbs mode ? 248 ? mw y/c mode ? 430 ? mw component mode ? 825 ? mw p tot(a+d) total power dissipation analog and digital part cvbs mode ? 533 ? mw y/c mode ? 710 ? mw component mode ? 1105 1350 mw p tot(a+d)(pd) total power dissipation analog and digital part in power-down mode ce pulled down to ground ? 5 ? mw p tot(a+d)(ps) total power dissipation analog and digital part in power-save mode i 2 c-bus controlled via subaddress 88h = 0fh ? 75 ? mw analog part i clamp clamping current v i =1vdc ? 8 ? a v i(p-p) input voltage (peak-to-peak value) for normal video levels 1 v (p-p), ? 3 db termination 18/56 ? and ac coupling required; coupling capacitor is 47 nf ? 0.7 ? v ? z i ? input impedance clamping current off 200 ?? k ? c i input capacitance ?? 10 pf cs channel crosstalk f i < 5 mhz ??? 50 db
2004 jul 22 84 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 9-bit analog-to-digital converters b analog bandwidth at ? 3db ? 7 ? mhz diff differential phase ampli er plus anti-alias lter bypassed ? 2 ? deg g diff differential gain ampli er plus anti-alias lter bypassed ? 2 ? % f clk(adc) adc clock frequency 25.4 ? 28.6 mhz le dc(d) dc differential linearity error ? 0.7 ? lsb le dc(i) dc integral linearity error ? 1 ? lsb ? g adc adc gain inequality ; note 1 ? 3 ? % digital inputs v il(scl,sda) low-level input voltage pins sda and scl note 2 ? 0.5 ? +0.3v dd(i2c) v v ih(scl,sda) high-level input voltage pins sda and scl note 2 0.7v dd(i2c) ? v dd(i2c) + 0.5 v v il(xtali) low-level cmos input voltage pin xtali ? 0.3 ? +0.8 v v ih(xtali) high-level cmos input voltage pin xtali 2.0 ? v ddd + 0.3 v v il(n) low-level input voltage all other inputs ? 0.3 ? +0.8 v v ih(n) high-level input voltage all other inputs 2.0 ? 5.5 v i li input leakage current ?? 1 a i li/o i/o leakage current ?? 10 a c i input capacitance i/o at high-impedance ?? 8pf digital outputs; note 3 v ol(sda) low-level output voltage pin sda sda at 3 ma sink current ?? 0.4 v v ol(clk) low-level output voltage for clocks ? 0.5 ? +0.6 v symbol parameter conditions min. typ. max. unit maximum deviation minimum deviation --------------------------------------------------- 1 ? ?? ?? 100
2004 jul 22 85 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 v oh(clk) high-level output voltage for clocks 2.4 ? v ddd + 0.5 v v ol(n) low-level output voltage all other digital outputs 0 ? 0.4 v v oh(n) high-level output voltage all other digital outputs 2.4 ? v ddd + 0.5 v clock output timing (llc and llc2); note 4 c l output load capacitance 15 ? 50 pf t cy cycle time pin llc 35 ? 39 ns pin llc2 70 ? 78 ns duty factors for t llch /t llc and t llc2h /t llc2 c l =40pf 40 ? 60 % t r rise time llc and llc2 0.2 v to v ddd ? 0.2 v ?? 5ns t f fall time llc and llc2 v ddd ? 0.2 v to 0.2 v ?? 5ns t d(llc-llc2) delay time between llc and llc2 output measured at 1.5 v; c l =25pf ? 4 ? +8 ns horizontal pll f hor(nom) nominal line frequency 50 hz eld ? 15625 ? hz 60 hz eld ? 15734 ? hz ? f hor /f hor(nom) permissible static deviation ?? 5.7 % subcarrier pll f sc(nom) nominal subcarrier frequency pal bghi ? 4433619 ? hz ntsc m ? 3579545 ? hz pa l m ? 3575612 ? hz pa l n ? 3582056 ? hz ? f sc lock-in range 400 ?? hz crystal oscillator for 32.11 mhz; note 5 f xtal(nom) nominal frequency ? 32.11 ? mhz ? f xtal(nom) permissible nominal frequency deviation ?? 70 10 ? 6 ? f xtal(nom)(t) permissible nominal frequency deviation with temperature ?? 30 10 ? 6 symbol parameter conditions min. typ. max. unit
2004 jul 22 86 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 c rystal specification (x1) t amb(x1) ambient temperature 0 ? 70 c c l load capacitance 8 ?? pf r s series resonance resistor ? 40 80 ? c 1 motional capacitance ? 1.5 20% ? ff c 0 parallel capacitance ? 4.3 20% ? pf crystal oscillator for 24.576 mhz; note 5 f xtal(nom) nominal frequency ? 24.576 ? mhz ? f xtal(nom) permissible nominal frequency deviation ?? 50 10 ? 6 ? f xtal(nom)(t) permissible nominal frequency deviation with temperature ?? 20 10 ? 6 c rystal specification (x1) t amb(x1) ambient temperature 0 ? 70 c c l load capacitance 8 ?? pf r s series resonance resistor ? 40 80 ? c 1 motional capacitance ? 1.5 20% ? ff c 0 parallel capacitance ? 3.5 20% ? pf clock input timing (xclk) t cy cycle time 31 ? 45 ns duty factors for t llch /t llc 40 50 60 % t r rise time ?? 5ns t f fall time ?? 5ns data and control signal input timing x port, related to xclk input t su;dat input data set-up time 10 ?? ns t hd;dat input data hold time 6 ?? ns symbol parameter conditions min. typ. max. unit
2004 jul 22 87 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 clock output timing c l output load capacitance 15 ? 50 pf t cy cycle time 35 ? 39 ns duty factors for t xclkh /t xclkl 35 ? 65 % t r rise time 0.6 to 2.6 v ?? 5ns t f fall time 2.6 to 0.6 v ?? 5ns data and control signal output timing x port, related to xclk output (for xpck[1:0]83h[5:4] = 00 is default); note 4 c l output load capacitance 15 ? 50 pf t ohd;dat output data hold time c l =15pf 4 ?? ns t pd propagation delay from positive edge of xclk output c l =15pf ?? 19 ns control signal output timing rt port, related to llc output c l output load capacitance 15 ? 50 pf t ohd;dat output hold time c l =15pf 4 ?? ns t pd propagation delay from positive edge of llc output c l =15pf ?? 19 ns iclk output timing c l output load capacitance 15 ? 50 pf t cy cycle time 31 ? 45 ns duty factors for t iclkh /t iclkl 35 ? 65 % t r rise time 0.6 to 2.6 v ?? 5ns t f fall time 2.6 to 0.6 v ?? 5ns symbol parameter conditions min. typ. max. unit
2004 jul 22 88 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 notes 1. adc1 is not taken into account, since component video is always converted by adc2, adc3 and adc4. 2. v dd(i2c) is the supply voltage of the i 2 c-bus. for v dd(i2c) = 3.3 v then v il(scl,sda)(max) = 1 v; for v dd(i2c) = 5 v then v il(scl,sda)(max) = 1.5 v. for v dd(i2c) = 3.3 v then v ih(scl,sda)(min) = 2.3 v; for v dd(i2c) = 5 v then v ih(scl,sda)(min) = 3.5 v. 3. the levels must be measured with load circuits; 1.2 k ? at 3 v (ttl load); c l = 50 pf. 4. the effects of rise and fall times are included in the calculation of t ohd;dat and t pd . timings and levels refer to drawings and conditions illustrated in fig.46. 5. the crystal oscillator drive level is typical 0.28 mw. data and control signal output timing i port, related to iclk output (for ipck[1:0] 87h[5:4] = 00 is default) c l output load capacitance at all outputs 15 ? 50 pf t ohd;dat output data hold time c l =15pf 4 ?? ns t o(d) output delay time c l =15pf ?? 19 ns iclk input timing t cy cycle time 31 ? 100 ns symbol parameter conditions min. typ. max. unit
2004 jul 22 89 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, full pagewidth mhb735 t xclkh t r t r t f t hd;dat t su;dat t su;dat t hd;dat t cy t x(i)clkh t x(i)clkl t f clock input xclk data and control inputs (x port) data and control outputs x port, i port clock outputs llc, llc2, xclk, iclk and iclk input input xdq 2.4 v 1.5 v 0.6 v ? 2.6 v ? 1.5 v ? 0.6 v 2.0 v 0.8 v t ohd;dat t o(d) ? 2.4 v ? 0.6 v 2.0 v 0.8 v not valid fig.46 data input/output timing diagram (x port, rt port and i port).
2004 jul 22 90 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 14 application information mhb736 100 nf 0 ? 2.2 h 10 h agnd agnd i 2 c-bus port bf840 m13 fsw j2 ai11 fb cvbs1 k1 ai12 cvbs2 k2 ai13 s l3 ai14 k3 ai1d c2 agnd 680 ? 18 ? (3 ) 680 ? 75 ? 150 pf 47 nf bat83 v ddd dgnd ? t 56 ? (3 ) g4 ai21 vsb1 g3 ai22 vsb2 h2 ai23 g j3 ai24 ys h1 ai2d 18 ? (4 ) 56 ? (4 ) e3 ai31 y1 f2 ai32 y2 f3 ai33 b g1 ai34 p b p r v dda v ddd v ssa0  to  v ssa4 v ssd2 v ssd4 v ssd6 v ssd8  v ssd10 v ssd12 f1 ai3d l2 agnda 18 ? (4 ) 56 ? (4 ) b1 ai41 c1 d2 ai42 c2 d1 ai43 r e1 ai44 p3 exmclr aout m1 m2, j4, h3, e4, c1 dgnd l5, l9, j11, f11, d10, d7 v ddd2  v ddd4 v ddd6  v ddd8  v ddd10  v ddd12 m5, m9, j12, f12, c10, c8 aout d3 ai4d 18 ? (4 ) v dda0  to v dda4 m3, k4, h4, f4, d4 v dda1a  to v dda4a l1, j1, g2, e2 v ssd1  v ssd3  v ssd5 v ssd7  v ssd9 v ssd11  v ssd13 dgnd l4, l8, l11, g11, d11, d9, d5 v ddd1  v ddd3  v ddd5  v ddd7  v ddd9 v ddd11  v ddd13 v ss(xtal) v dd(xtal) m4, m8, m11, h12, d12, c9, c5 a4 b3 a2 a3 b4 p6, m6, l6, n7, p7, l7, m7, p8, n8 n6 dgnd dgnd 10 pf 10 pf 1 nf 100 nf 100 nf 100 nf 100 nf 100 nf 100 nf 100 nf dgnd 10 f agnd 10 f 56 ? (4 ) xtalo xtali adp[8:0] clkext k11, j13, j14, h13, h14, h11, g12, g14 m14 ipd[7:0] g13, f14, f13, e14, e12, e13, e11, d14 hpd[7:0] iclk l13 idq n12 itrdy k12 igph k14 igpv l14 igp0 c11, a11, b10, a10, b9, a9, b8, a8 a7 xpd[7:0] xclk p4 llc n5 llc2 m10 rts0 n10 rts1 l10 rtco b7 xdq a6 xrdy c7 xrh d8 xrv b11 xtri k13 igp1 l12 itri 24.576 mhz (3rd harmonic) xtout ce int_a scl sda asclk alrclk audio clock tdo tdi boundary scan (1) trst tck tms amxclk amclk a5 b5 c6 b6 d6 m12 p11 p12 n11 p10 n9 p9 n4 p5 ad port scaled image port host port expansion port real-time saa7118e res v ddd or v ssd  for crystal strapping 4.7 k ? v ddd 4.7 k ? v ddd or v ssd  for i 2 c-bus slave address strapping 4.7 k ? fig.47 application example with 24.576 mhz crystal (bga156 package). (1) for board design without boundary scan implementation this pin should be connected to ground.
2004 jul 22 91 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 100 nf 0 ? 2.2 h 10 h agnd agnd i 2 c-bus port bf840 83 fsw 27 ai11 fb cvbs1 29 ai12 cvbs2 31 ai13 s 34 ai14 30 ai1d 3 agnd 680 ? 18 ? (3 ) 680 ? 75 ? 150 pf 47 nf bat83 v ddd dgnd ? t 56 ? (3 ) 19 ai21 vsb1 21 ai22 vsb2 23 ai23 g 26 ai24 ys 22 ai2d 18 ? (4 ) 56 ? (4 ) 11 ai31 y1 13 ai32 y2 15 ai33 b 18 ai34 p b p r v dda v ddd v ssa0  to v ssa4 v ssd2  v ssd4 v ssd6  v ssd8 v ssd10  v ssd12 14 ai3d 35 agnda 18 ? (4 ) 56 ? (4 ) 2 ai41 c1 5 ai42 c2 7 ai43 r 10 ai44 43 exmclr aout 36 38, 28, 20, 12, 4 dgnd 51, 67, 96, 108, 133, 145 v ddd2 v ddd4  v ddd6 v ddd8  v ddd10  v ddd12 50, 65, 95, 106, 132, 142 aout 6 ai4d 18 ? (4 ) v dda0  to v dda4 37, 32, 24, 16, 8 v dda1a  to v dda4a 33, 25, 17, 9 v ssd1  v ssd3 v ssd5  v ssd7 v ssd9  v ssd11  v ssd13 dgnd 47, 63, 88, 104, 129, 137, 153 v ddd1  v ddd3  v ddd5  v ddd7  v ddd9  v ddd11 v ddd13 v ss(xtal) v dd(xtal) 45, 59, 73, 101, 114, 136, 151 154 157 158 156 155 53, 54, 55, 56, 57, 58, 60, 61, 62 52 dgnd dgnd 10 pf 10 pf 1 nf 100 nf 100 nf 100 nf 100 nf 100 nf 100 nf 100 nf dgnd 10 f agnd 10 f 56 ? (4 ) xtalo xtali adp [ 8:0 ] clkext 92, 93, 94, 97, 98, 99, 100, 102 84 ipd [ 7:0 ] 103, 105, 107, 109, 110, 111, 112, 113 hpd [ 7:0 ] iclk 85 idq 77 itrdy 91 igph 90 igpv 87 igp0 127, 128, 130, 131, 134, 135, 138, 139 143 xpd [ 7:0 ] xclk 46 llc 48 llc2 69 rts0 70 rts1 71 rtco 144 xdq 146 xrdy 141 xrh 140 xrv 126 xtri 89 igp1 86 itri 24.576 mhz (3rd harmonic) xtout ce int_a scl sda asclk alrclk audio clock tdo tdi boundary scan (1) trst tck tms amxclk amclk 150 152 147 148 149 76 72 75 74 68 66 64 44 49 ad port scaled image port host port expansion port real-time saa7118h res v ddd or v ssd for crystal strapping 4.7 k ? v ddd 4.7 k ? v ddd or v ssd  for i 2 c-bus slave address strapping 4.7 k ? mhc565 fig.48 application example with 24.576 mhz crystal (qfp160 package). (1) for board design without boundary scan implementation this pin should be connected to ground.
2004 jul 22 92 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, full pagewidth mhb781 10 pf 10 pf b4 (155) xtali xtalo a3 (156) 32.11 mhz saa7118 15 pf 1 nf 4.7 h 15 pf b4 (155) xtali xtalo a3 (156) 32.11 mhz saa7118 33 pf 33 pf b4 (155) xtali xtalo a3 (156) 32.11 mhz saa7118 handbook, full pagewidth mhb784 15 pf 15 pf b4 (155) xtali xtalo a3 (156) 24.576 mhz saa7118 39 pf 39 pf b4 (155) xtali xtalo a3 (156) 24.576 mhz saa7118 18 pf 1 nf 4.7 h 18 pf b4 (155) xtali xtalo a3 (156) 24.576 mhz saa7118 mhb786 b4 (155) xtali xtalo r s a3 (156) saa7118 b4 (155) xtali xtalo n.c. clock 32.11 mhz or 24.576 mhz a3 (156) saa7118 fig.49 oscillator application. (1a) with 3rd harmonic quartz. crystal load = 8 pf. (1b) with fundamental quartz. crystal load = 20 pf. (1c) with fundamental quartz. crystal load = 8 pf (2a) with 3rd harmonic quartz. crystal load = 8 pf. (2b) with fundamental quartz. crystal load = 20 pf. (2c) with fundamental quartz. crystal load = 8 pf. (3a) with direct clock. (3b) with fundamental quartz and restricted drive level. when p drive of the internal oscillator is too high a resistance r s can be placed in series with the output of the oscillator xtalo. note: the decreased crystal amplitude results in a lower drive level but on the other hand the jitter performance will decrease. pin numbers for qfp160 in parenthesis.
2004 jul 22 93 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15 i 2 c-bus description the saa7118 supports the ?fast mode? i 2 c-bus specification extension (data rate up to 400 kbit/s). 15.1 i 2 c-bus format table 36 description of i 2 c-bus format note 1. if pin rtco strapped to supply voltage via a 3.3 k ? resistor. code description s start condition sr repeated start condition slave address w ?0100 0010? (42h, default) or ?0100 0000? (40h; note 1) slave address r ?0100 0011? (43h, default) or ?0100 0001? (41h; note 1) ack-s acknowledge generated by the slave ack-m acknowledge generated by the master subaddress subaddress byte; see tables 37 and 38 data data byte; see table 38; if more than one byte data is transmitted the subaddress pointer is automatically incremented p stop condition x read/write control bit (lsb slave address); x = 0, order to write (the circuit is slave receiver); x = 1, order to read (the circuit is slave transmitter) ack-s ack-s data slave address w data transferred (n bytes + acknowledge) mhb339 p s ack-s subaddress a. write procedure. b. read procedure (combined). ack-s ack-m slave address r mhb340 p sr ack-s ack-s data subaddress slave address w s data transferred (n bytes + acknowledge) fig.50 i 2 c-bus format.
2004 jul 22 94 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 37 subaddress description and access subaddress description access (read/write) 00h chip version read only f0h to ffh reserved ? video decoder: 01h to 1fh 01h to 05h front-end part read and write 06h to 19h decoder part read and write 1ah to 1dh reserved ? 1eh and 1fh video decoder status bytes read only component processing and interrupt masking: 20h to 2fh 20h to 22h reserved ? 23h to 25h analog input control read and write 26h to 28h reserved ? 29h to 2ch component control read and write 2dh to 2fh interrupt mask read and write audio clock generation: 30h to 3fh 30h to 3ah audio clock generator read and write 3bh to 3fh reserved ? general purpose vbi data slicer: 40h to 7fh 40h to 5eh vbi data slicer read and write 5fh reserved ? 60h to 62h vbi data slicer status read only 63h to 7fh reserved ? x port, i port and the scaler: 80h to efh 80h to 8fh task independent global settings read and write 90h to bfh task a de nition read and write c0h to efh task b de nition read and write
2004 jul 22 95 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 95 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... table 38 i 2 c-bus receiver/transmitter overview register function sub addr. (hex) d7 d6 d5 d4 d3 d2 d1 d0 chip version: register 00h chip version (read only) 00 id7 id6 id5 id4 ???? video decoder: registers 01h to 1fh f ront - end part : registers 01h to 05h increment delay 01 (1) wpoff gudl1 gudl0 idel3 idel2 idel1 idel0 analog input control 1 02 fuse1 fuse0 mode5 mode4 mode3 mode2 mode1 mode0 analog input control 2 03 (1) hlnrs vbsl cpoff holdg gafix gai28 gai18 analog input control 3 04 gai17 gai16 gai15 gai14 gai13 gai12 gai11 gai10 analog input control 4 05 gai27 gai26 gai25 gai24 gai23 gai22 gai21 gai20 d ecoder part : registers 06h to 1fh horizontal sync start 06 hsb7 hsb6 hsb5 hsb4 hsb3 hsb2 hsb1 hsb0 horizontal sync stop 07 hss7 hss6 hss5 hss4 hss3 hss2 hss1 hss0 sync control 08 aufd fsel foet htc1 htc0 hpll vnoi1 vnoi0 luminance control 09 byps ycomb ldel lubw lufi3 lufi2 lufi1 lufi0 luminance brightness control 0a dbri7 dbri6 dbri5 dbri4 dbri3 dbri2 dbri1 dbri0 luminance contrast control 0b dcon7 dcon6 dcon5 dcon4 dcon3 dcon2 dcon1 dcon0 chrominance saturation control 0c dsat7 dsat6 dsat5 dsat4 dsat3 dsat2 dsat1 dsat0 chrominance hue control 0d huec7 huec6 huec5 huec4 huec3 huec2 huec1 huec0 chrominance control 1 0e cdto cstd2 cstd1 cstd0 dcvf fctc auto0 ccomb chrominance gain control 0f acgc cgain6 cgain5 cgain4 cgain3 cgain2 cgain1 cgain0 chrominance control 2 10 offu1 offu0 offv1 offv0 chbw lcbw2 lcbw1 lcbw0 mode/delay control 11 colo rtp1 hdel1 hdel0 rtp0 ydel2 ydel1 ydel0 rt signal control 12 rtse13 rtse12 rtse11 rtse10 rtse03 rtse02 rtse01 rtse00 rt/x port output control 13 rtce xrhs xrvs1 xrvs0 hlsel ofts2 ofts1 ofts0 analog/adc/compatibility control 14 cm99 uptcv aosl1 aosl0 xtoute auto1 apck1 apck0 vgate start, fid change 15 vsta7 vsta6 vsta5 vsta4 vsta3 vsta2 vsta1 vsta0 vgate stop 16 vsto7 vsto6 vsto5 vsto4 vsto3 vsto2 vsto1 vsto0
2004 jul 22 96 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 96 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... miscellaneous, vgate con guration and msbs 17 llce llc2e laty2 laty1 laty0 vgps vsto8 vsta8 raw data gain control 18 rawg7 rawg6 rawg5 rawg4 rawg3 rawg2 rawg1 rawg0 raw data offset control 19 rawo7 rawo6 rawo5 rawo4 rawo3 rawo2 rawo1 rawo0 reserved 1a to 1d (1) (1) (1) (1) (1) (1) (1) (1) status byte 1 video decoder (read only) 1e ? hlck sltca glimt glimb wipa dcstd1 dcstd0 status byte 2 video decoder (read only) 1f intl hlvln fidt ? type3 colstr copro rdcap component processing and interrupt masking part: registers 20h to 2fh reserved 20 to 22 (1) (1) (1) (1) (1) (1) (1) (1) analog input control 5 23 aosl2 adpe exclk refa (1) exmce gai48 gai38 analog input control 6 24 gai37 gai36 gai35 gai34 gai33 gai32 gai31 gai30 analog input control 7 25 gai47 gai46 gai45 gai44 gai43 gai42 gai41 gai40 reserved 26 to 28 (1) (1) (1) (1) (1) (1) (1) (1) component delay 29 fswe fswi fswdl1 fswdl0 cmfi cpdl2 cpdl1 cpdl0 component brightness control 2a cbri7 cbri6 cbri5 cbri4 cbri3 cbri2 cbri1 cbri0 component contrast control 2b ccon7 ccon6 ccon5 ccon4 ccon3 ccon2 ccon1 ccon0 component saturation control 2c csat7 csat6 csat5 csat4 csat3 csat2 csat1 csat0 interrupt mask 1 2d (1) (1) (1) mvpsv mppv mccv (1) merrof interrupt mask 2 2e (1) mhlck (1) (1) (1) (1) mdcstd1 mdcstd0 interrupt mask 3 2f mintl mhlvln mfidt (1) mtype3 mcolstr mcopro mrdcap audio clock generator part: registers 30h to 3fh audio master clock cycles per eld 30 acpf7 acpf6 acpf5 acpf4 acpf3 acpf2 acpf1 acpf0 31 acpf15 acpf14 acpf13 acpf12 acpf11 acpf10 acpf9 acpf8 32 (1) (1) (1) (1) (1) (1) acpf17 acpf16 reserved 33 (1) (1) (1) (1) (1) (1) (1) (1) audio master clock nominal increment 34 acni7 acni6 acni5 acni4 acni3 acni2 acni1 acni0 35 acni15 acni14 acni13 acni12 acni11 acni10 acni9 acni8 36 (1) (1) acni21 acni20 acni19 acni18 acni17 acni16 register function sub addr. (hex) d7 d6 d5 d4 d3 d2 d1 d0
2004 jul 22 97 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 97 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... reserved 37 (1) (1) (1) (1) (1) (1) (1) (1) clock ratio amxclk to asclk 38 (1) (1) sdiv5 sdiv4 sdiv3 sdiv2 sdiv1 sdiv0 clock ratio asclk to alrclk 39 (1) (1) lrdiv5 lrdiv4 lrdiv3 lrdiv2 lrdiv1 lrdiv0 audio clock generator basic setup 3a (1) (1) (1) (1) apll amvr lrph scph reserved 3b to 3f (1) (1) (1) (1) (1) (1) (1) (1) general purpose vbi data slicer part: registers 40h to 7fh slicer control 1 40 (1) ham_n fce hunt_n (1) (1) (1) (1) lcr2 to lcr24 (n = 2 to 24) 41 to 57 lcrn_7 lcrn_6 lcrn_5 lcrn_4 lcrn_3 lcrn_2 lcrn_1 lcrn_0 programmable framing code 58 fc7 fc6 fc5 fc4 fc3 fc2 fc1 fc0 horizontal offset for slicer 59 hoff7 hoff6 hoff5 hoff4 hoff3 hoff2 hoff1 hoff0 vertical offset for slicer 5a voff7 voff6 voff5 voff4 voff3 voff2 voff1 voff0 field offset and msbs for horizontal and vertical offset 5b foff recode (1) voff8 (1) hoff10 hoff9 hoff8 reserved (for testing) 5c (1) (1) (1) (1) (1) (1) (1) (1) header and data identi cation (did) code control 5d fvref (1) did5 did4 did3 did2 did1 did0 sliced data identi cation (sdid) code 5e (1) (1) sdid5 sdid4 sdid3 sdid2 sdid1 sdid0 reserved 5f (1) (1) (1) (1) (1) (1) (1) (1) slicer status byte 0 (read only) 60 ? fc8v fc7v vpsv ppv ccv ?? slicer status byte 1 (read only) 61 ?? f21_n ln8 ln7 ln6 ln5 ln4 slicer status byte 2 (read only) 62 ln3 ln2 ln1 ln0 dt3 dt2 dt1 dt0 reserved 63 to 7f (1) (1) (1) (1) (1) (1) (1) (1) x port, i port and the scaler part: registers 80h to efh t ask independent global settings : 80h to 8fh global control 1 80 (1) smod teb tea icks3 icks2 icks1 icks0 reserved 81 and 82 (1) (1) (1) (1) (1) (1) (1) (1) x port i/o enable and output clock phase control 83 (1) (1) xpck1 xpck0 (1) xrqt xpe1 xpe0 register function sub addr. (hex) d7 d6 d5 d4 d3 d2 d1 d0
2004 jul 22 98 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 98 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... i port signal definitions 84 idg01 idg00 idg11 idg10 idv1 idv0 idh1 idh0 i port signal polarities 85 iswp1 iswp0 illv ig0p ig1p irvp irhp idqp i port fifo flag control and arbitration 86 vitx1 vitx0 idg02 idg12 ffl1 ffl0 fel1 fel0 i port i/o enable, output clock and gated clock phase control 87 ipck3 ipck2 ipck1 ipck0 (1) (1) ipe1 ipe0 power save/adc port control 88 dosl1 dosl0 swrst dprog slm3 (1) slm1 slm0 reserved 89 to 8e (1) (1) (1) (1) (1) (1) (1) (1) status information scaler part 8f xtri itri ffil ffov prdon errof fidsci fidsco t ask a definition : registers 90h to bfh basic settings and acquisition window de nition task handling control 90 conlh ofidc fskp2 fskp1 fskp0 rptsk strc1 strc0 x port formats and con guration 91 conlv hldfv scsrc1 scsrc0 scrqe fsc2 fsc1 fsc0 x port input reference signal de nition 92 xfdv xfdh xdv1 xdv0 xcode xdh xdq xcks i port output formats and con guration 93 icode i8_16 fysk foi1 foi0 fsi2 fsi1 fsi0 horizontal input window start 94 xo7 xo6 xo5 xo4 xo3 xo2 xo1 xo0 95 (1) (1) (1) (1) xo11 xo10 xo9 xo8 horizontal input window length 96 xs7 xs6 xs5 xs4 xs3 xs2 xs1 xs0 97 (1) (1) (1) (1) xs11 xs10 xs9 xs8 vertical input window start 98 yo7 yo6 yo5 yo4 yo3 yo2 yo1 yo0 99 (1) (1) (1) (1) yo11 yo10 yo9 yo8 vertical input window length 9a ys7 ys6 ys5 ys4 ys3 ys2 ys1 ys0 9b (1) (1) (1) (1) ys11 ys10 ys9 ys8 horizontal output window length 9c xd7 xd6 xd5 xd4 xd3 xd2 xd1 xd0 9d (1) (1) (1) (1) xd11 xd10 xd9 xd8 vertical output window length 9e yd7 yd6 yd5 yd4 yd3 yd2 yd1 yd0 9f (1) (1) (1) (1) yd11 yd10 yd9 yd8 register function sub addr. (hex) d7 d6 d5 d4 d3 d2 d1 d0
2004 jul 22 99 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 99 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... fir ltering and prescaling horizontal prescaling a0 (1) (1) xpsc5 xpsc4 xpsc3 xpsc2 xpsc1 xpsc0 accumulation length a1 (1) (1) xacl5 xacl4 xacl3 xacl2 xacl1 xacl0 prescaler dc gain and fir pre lter control a2 pfuv1 pfuv0 pfy1 pfy0 xc2_1 xdcg2 xdcg1 xdcg0 reserved a3 (1) (1) (1) (1) (1) (1) (1) (1) luminance brightness control a4 brig7 brig6 brig5 brig4 brig3 brig2 brig1 brig0 luminance contrast control a5 cont7 cont6 cont5 cont4 cont3 cont2 cont1 cont0 chrominance saturation control a6 satn7 satn6 satn5 satn4 satn3 satn2 satn1 satn0 reserved a7 (1) (1) (1) (1) (1) (1) (1) (1) horizontal phase scaling horizontal luminance scaling increment a8 xscy7 xscy6 xscy5 xscy4 xscy3 xscy2 xscy1 xscy0 a9 (1) (1) (1) xscy12 xscy11 xscy10 xscy9 xscy8 horizontal luminance phase offset aa xphy7 xphy6 xphy5 xphy4 xphy3 xphy2 xphy1 xphy0 reserved ab (1) (1) (1) (1) (1) (1) (1) (1) horizontal chrominance scaling increment ac xscc7 xscc6 xscc5 xscc4 xscc3 xscc2 xscc1 xscc0 ad (1) (1) (1) xscc12 xscc11 xscc10 xscc9 xscc8 horizontal chrominance phase offset ae xphc7 xphc6 xphc5 xphc4 xphc3 xphc2 xphc1 xphc0 reserved af (1) (1) (1) (1) (1) (1) (1) (1) vertical scaling vertical luminance scaling increment b0 yscy7 yscy6 yscy5 yscy4 yscy3 yscy2 yscy1 yscy0 b1 yscy15 yscy14 yscy13 yscy12 yscy11 yscy10 yscy9 yscy8 vertical chrominance scaling increment b2 yscc7 yscc6 yscc5 yscc4 yscc3 yscc2 yscc1 yscc0 b3 yscc15 yscc14 yscc13 yscc12 yscc11 yscc10 yscc9 yscc8 vertical scaling mode control b4 (1) (1) (1) ymir (1) (1) (1) ymode reserved b5 to b7 (1) (1) (1) (1) (1) (1) (1) (1) vertical chrominance phase offset ?00? b8 ypc07 ypc06 ypc05 ypc04 ypc03 ypc02 ypc01 ypc00 register function sub addr. (hex) d7 d6 d5 d4 d3 d2 d1 d0
2004 jul 22 100 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 100 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... vertical chrominance phase offset ?01? b9 ypc17 ypc16 ypc15 ypc14 ypc13 ypc12 ypc11 ypc10 vertical chrominance phase offset ?10? ba ypc27 ypc26 ypc25 ypc24 ypc23 ypc22 ypc21 ypc20 vertical chrominance phase offset ?11? bb ypc37 ypc36 ypc35 ypc34 ypc33 ypc32 ypc31 ypc30 vertical luminance phase offset ?00? bc ypy07 ypy06 ypy05 ypy04 ypy03 ypy02 ypy01 ypy00 vertical luminance phase offset ?01? bd ypy17 ypy16 ypy15 ypy14 ypy13 ypy12 ypy11 ypy10 vertical luminance phase offset ?10? be ypy27 ypy26 ypy25 ypy24 ypy23 ypy22 ypy21 ypy20 vertical luminance phase offset ?11? bf ypy37 ypy36 ypy35 ypy34 ypy33 ypy32 ypy31 ypy30 t ask b definition registers c0h to efh basic settings and acquisition window de nition task handling control c0 conlh ofidc fskp2 fskp1 fskp0 rptsk strc1 strc0 x port formats and con guration c1 conlv hldfv scsrc1 scsrc0 scrqe fsc2 fsc1 fsc0 input reference signal de nition c2 xfdv xfdh xdv1 xdv0 xcode xdh xdq xcks i port formats and configuration c3 icode i8_16 fysk foi1 foi0 fsi2 fsi1 fsi0 horizontal input window start c4 xo7 xo6 xo5 xo4 xo3 xo2 xo1 xo0 c5 (1) (1) (1) (1) xo11 xo10 xo9 xo8 horizontal input window length c6 xs7 xs6 xs5 xs4 xs3 xs2 xs1 xs0 c7 (1) (1) (1) (1) xs11 xs10 xs9 xs8 vertical input window start c8 yo7 yo6 yo5 yo4 yo3 yo2 yo1 yo0 c9 (1) (1) (1) (1) yo11 yo10 yo9 yo8 vertical input window length ca ys7 ys6 ys5 ys4 ys3 ys2 ys1 ys0 cb (1) (1) (1) (1) ys11 ys10 ys9 ys8 horizontal output window length cc xd7 xd6 xd5 xd4 xd3 xd2 xd1 xd0 cd (1) (1) (1) (1) xd11 xd10 xd9 xd8 register function sub addr. (hex) d7 d6 d5 d4 d3 d2 d1 d0
2004 jul 22 101 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 101 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... vertical output window length ce yd7 yd6 yd5 yd4 yd3 yd2 yd1 yd0 cf (1) (1) (1) (1) yd11 yd10 yd9 yd8 fir ltering and prescaling horizontal prescaling d0 (1) (1) xpsc5 xpsc4 xpsc3 xpsc2 xpsc1 xpsc0 accumulation length d1 (1) (1) xacl5 xacl4 xacl3 xacl2 xacl1 xacl0 prescaler dc gain and fir pre lter control d2 pfuv1 pfuv0 pfy1 pfy0 xc2_1 xdcg2 xdcg1 xdcg0 reserved d3 (1) (1) (1) (1) (1) (1) (1) (1) luminance brightness control d4 brig7 brig6 brig5 brig4 brig3 brig2 brig1 brig0 luminance contrast control d5 cont7 cont6 cont5 cont4 cont3 cont2 cont1 cont0 chrominance saturation control d6 satn7 satn6 satn5 satn4 satn3 satn2 satn1 satn0 reserved d7 (1) (1) (1) (1) (1) (1) (1) (1) horizontal phase scaling horizontal luminance scaling increment d8 xscy7 xscy6 xscy5 xscy4 xscy3 xscy2 xscy1 xscy0 d9 (1) (1) (1) xscy12 xscy11 xscy10 xscy9 xscy8 horizontal luminance phase offset da xphy7 xphy6 xphy5 xphy4 xphy3 xphy2 xphy1 xphy0 reserved db (1) (1) (1) (1) (1) (1) (1) (1) horizontal chrominance scaling increment dc xscc7 xscc6 xscc5 xscc4 xscc3 xscc2 xscc1 xscc0 dd (1) (1) (1) xscc12 xscc11 xscc10 xscc9 xscc8 horizontal chrominance phase offset de xphc7 xphc6 xphc5 xphc4 xphc3 xphc2 xphc1 xphc0 reserved df (1) (1) (1) (1) (1) (1) (1) (1) vertical scaling vertical luminance scaling increment e0 yscy7 yscy6 yscy5 yscy4 yscy3 yscy2 yscy1 yscy0 e1 yscy15 yscy14 yscy13 yscy12 yscy11 yscy10 yscy9 yscy8 vertical chrominance scaling increment e2 yscc7 yscc6 yscc5 yscc4 yscc3 yscc2 yscc1 yscc0 e3 yscc15 yscc14 yscc13 yscc12 yscc11 yscc10 yscc9 yscc8 vertical scaling mode control e4 (1) (1) (1) ymir (1) (1) (1) ymode reserved e5 to e7 (1) (1) (1) (1) (1) (1) (1) (1) register function sub addr. (hex) d7 d6 d5 d4 d3 d2 d1 d0
2004 jul 22 102 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 102 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... note 1. all unused control bits must be programmed with logic 0 to ensure compatibility to future enhancements. vertical chrominance phase offset ?00? e8 ypc07 ypc06 ypc05 ypc04 ypc03 ypc02 ypc01 ypc00 vertical chrominance phase offset ?01? e9 ypc17 ypc16 ypc15 ypc14 ypc13 ypc12 ypc11 ypc10 vertical chrominance phase offset ?10? ea ypc27 ypc26 ypc25 ypc24 ypc23 ypc22 ypc21 ypc20 vertical chrominance phase offset ?11? eb ypc37 ypc36 ypc35 ypc34 ypc33 ypc32 ypc31 ypc30 vertical luminance phase offset ?00? ec ypy07 ypy06 ypy05 ypy04 ypy03 ypy02 ypy01 ypy00 vertical luminance phase offset ?01? ed ypy17 ypy16 ypy15 ypy14 ypy13 ypy12 ypy11 ypy10 vertical luminance phase offset ?10? ee ypy27 ypy26 ypy25 ypy24 ypy23 ypy22 ypy21 ypy20 vertical luminance phase offset ?11? ef ypy37 ypy36 ypy35 ypy34 ypy33 ypy32 ypy31 ypy30 register function sub addr. (hex) d7 d6 d5 d4 d3 d2 d1 d0
2004 jul 22 103 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.2 i 2 c-bus details 15.2.1 s ubaddress 00h table 39 chip version (cv) identi cation; 00h[7:4]; read only register 15.2.2 s ubaddress 01h the programming of the horizontal increment delay is used to match internal processing delays to the delay of the adc. use recommended position only. table 40 horizontal increment delay; 01h[6:0] note 1. hlnrs = 1 should not be used in combination with wpoff = 0. function logic levels id7 id6 id5 id4 chip version (cv) cv3 cv2 cv1 cv0 bit description symbol value function d6 white peak control off wpoff (1) 0 white peak control active (ad signal is attenuated, if nominal luminance output white level is exceeded) 1 white peak control disabled d[5:4] update hysteresis for 9-bit gain; see fig.9 gudl[1:0] 00 off 01 1 lsb 10 2 lsb 11 3 lsb d[3:0] increment delay idel[3:0] 1111 no update 1110 minimum delay 0111 recommended position 0000 maximum delay
2004 jul 22 104 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.2.3 s ubaddress 02h table 41 analog input control 1 (aico1); 02h[7:0]; note 1 bit description symbol value function d[7:6] analog function select; see figs 4 and 8 fuse[1:0] 00 ampli er plus anti-alias lter bypassed 01 10 ampli er active 11 ampli er plus anti-alias lter active cvbs modes 1 d[5:0] mode selection mode[5:0] 000000 mode 00 : cvbs (automatic gain) from ai11; see fig.51 000001 mode 01 : cvbs (automatic gain) from ai12; see fig.52 000010 mode 02 : cvbs (automatic gain) from ai21; see fig.53 000011 mode 03 : cvbs (automatic gain) from ai22; see fig.54 000100 mode 04 : cvbs (automatic gain) from ai23; see fig.55 000101 mode 05 : cvbs (automatic gain) from ai24; see fig.56 y + c modes 1 d[5:0] mode selection mode[5:0] 000110 mode 06 : y (automatic gain) from ai11 + c (gain adjustable via gai28 to gai20) from ai21; note 2; see fig.57 000111 mode 07 : y (automatic gain) from ai12 + c (gain adjustable via gai28 to gai20) from ai22; note 2; see fig.58 001000 mode 08 : y (automatic gain) from ai11 + c (gain adapted to y gain) from ai21; note 2; see fig.59 001001 mode 09 : y (automatic gain) from ai12 + c (gain adapted to y gain) from ai22; note 2; see fig.60 001010 mode 0a : y (automatic gain) from ai13 + c (gain adjustable via gai28 to gai20) from ai23; note 2; see fig.61 001011 mode 0b : y (automatic gain) from ai14 + c (gain adjustable via gai28 to gai20) from ai24; note 2; see fig.62 001100 mode 0c : y (automatic gain) from ai13 + c (gain adapted to y gain) from ai23; note 2; see fig.63 001101 mode 0d : y (automatic gain) from ai14 + c (gain adapted to y gain) from ai24; note 2; see fig.64
2004 jul 22 105 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 cvbs modes 2 d[5:0] mode selection mode[5:0] 001110 mode 0e : cvbs (automatic gain) from ai13; see fig.65 001111 mode 0f : cvbs (automatic gain) from ai14; see fig.66 010000 mode 10 : cvbs (automatic gain) from ai31; see fig.67 010001 mode 11 : cvbs (automatic gain) from ai32; see fig.68 010010 mode 12 : cvbs (automatic gain) from ai41; see fig.69 010011 mode 13 : cvbs (automatic gain) from ai42; see fig.70 010100 mode 14 : cvbs (automatic gain) from ai43; see fig.71 010101 mode 15 : cvbs (automatic gain) from ai44; see fig.72 y + c modes 2 d[5:0] mode selection mode[5:0] 010110 mode 16 : y (automatic gain) from ai31 + c (gain adjustable via gai28 to gai20) from ai41; note 2; see fig.73 010111 mode 17 : y (automatic gain) from ai32 + c (gain adjustable via gai28 to gai20) from ai42; note 2; see fig.74 011000 mode 18 : y (automatic gain) from ai31 + c (gain adapted to y gain) from ai41; note 2; see fig.75 011001 mode 19 : y (automatic gain) from ai32 + c (gain adapted to y gain) from ai42; note 2; see fig.76 011010 mode 1a : y (automatic gain) from ai33 + c (gain adjustable via gai28 to gai20) from ai43; note 2; see fig.77 011011 mode 1b : y (automatic gain) from ai34 + c (gain adjustable via gai28 to gai20) from ai44; note 2; see fig.78 011100 mode 1c : y (automatic gain) from ai33 + c (gain adapted to y gain) from ai43; note 2; see fig.79 011101 mode 1d : y (automatic gain) from ai34 + c (gain adapted to y gain) from ai44; note 2; see fig.80 cvbs modes 3 d[5:0] mode selection mode[5:0] 011110 mode 1e : cvbs (automatic gain) from ai33; see fig.81 011111 mode 1f : cvbs (automatic gain) from ai34; see fig.82 y-p b -p r modes d[5:0] mode selection mode[5:0] 100000 mode 20 :sy-p b -p r (automatic gain for sync channel only) from ai11, ai21, ai31, ai41; see fig.83 100001 mode 21 :sy-p b -p r (automatic gain for sync channel only) from ai12, ai22, ai32, ai42; see fig.84 100010 to 101101 reserved 101110 mode 2e :sy-p b -p r (automatic gain for sync channel only) from ai13, ai23, ai33, ai43; see fig.85 101110 mode 2f :sy-p b -p r (automatic gain for sync channel only) from ai14, ai24, ai34, ai44; see fig.86 bit description symbol value function
2004 jul 22 106 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 notes 1. always refer to table 71, usage of bits fswe and fswi. 2. to take full advantage of the y/c modes 06 to 0d and 16 to 1d the i 2 c-bus bit byps (subaddress 09h, bit d7) should be set to logic 1 (full luminance bandwidth). rgb modes d[5:0] mode selection mode[5:0] 110000 mode 30 : srgb (automatic gain for sync channel only) from ai11, ai21, ai31, ai41; see fig.87 110001 mode 31 : srgb (automatic gain for sync channel only) from ai12, ai22, ai32, ai42; see fig.88 110010 to 111101 reserved 111110 mode 3e : srgb (automatic gain for sync channel only) from ai13, ai23, ai33, ai43; see fig.89 111111 mode 3f : srgb (automatic gain for sync channel only) from ai14, ai24, ai34, ai44; see fig.90 vsb modes; see fig.91 d[5:0] mode selection mode[5:0] 000000 mode 00 : input ai11; refa = 1, dosl = 0, gafix = 1 000001 mode 01 : input ai12; refa = 1, dosl = 0, gafix = 1 001110 mode 0e : input ai13; refa = 1, dosl = 0, gafix = 1 001111 mode 0f : input ai14; refa = 1, dosl = 0, gafix = 1 000010 mode 02 : input ai21; refa = 1, dosl = 1, gafix = 1 000011 mode 03 : input ai22; refa = 1, dosl = 1, gafix = 1 000100 mode 04 : input ai23; refa = 1, dosl = 1, gafix = 1 000101 mode 05 : input ai24; refa = 1, dosl = 1, gafix = 1 010000 mode 10 : input ai31; refa = 1, dosl = 2, gafix = 1 010001 mode 11 : input ai32; refa = 1, dosl = 2, gafix = 1 011110 mode 1e : input ai33; refa = 1, dosl = 2, gafix = 1 011111 mode 1f : input ai34; refa = 1, dosl = 2, gafix = 1 010010 mode 12 : input ai41; refa = 1, dosl = 3, gafix = 1 010011 mode 13 : input ai42; refa = 1, dosl = 3, gafix = 1 010100 mode 14 : input ai43; refa = 1, dosl = 3, gafix = 1 010101 mode 15 : input ai44; refa = 1, dosl = 3, gafix = 1 bit description symbol value function
2004 jul 22 107 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, halfpage mhb738 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.51 mode00 cvbs1. handbook, halfpage mhb739 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.52 mode01 cvbs2. handbook, halfpage mhb740 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.53 mode02 cvbs3. handbook, halfpage mhb741 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.54 mode03 cvbs4.
2004 jul 22 108 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, halfpage mhb742 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.55 mode04 cvbs5. handbook, halfpage mhb743 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.56 mode05 cvbs6. handbook, halfpage mhb744 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.57 mode06 yc1 (gain -> gai2 level). handbook, halfpage mhb745 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.58 mode07 yc2 (gain -> gai2 level).
2004 jul 22 109 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, halfpage mhb746 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.59 mode08 yc1 (gain adapted to y gain). handbook, halfpage mhb747 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.60 mode09 yc2 (gain adapted to y gain). handbook, halfpage mhb748 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.61 mode0a yc3 (gain -> gai2 level). handbook, halfpage mhb749 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.62 mode0b yc4 (gain -> gai2 level).
2004 jul 22 110 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, halfpage mhb750 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.63 mode0c yc3 (gain adapted to y gain). handbook, halfpage mhb751 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.64 mode0d yc4 (gain adapted to y gain). handbook, halfpage mhb752 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.65 mode0e cvbs7. handbook, halfpage mhb753 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.66 mode0f cvbs8.
2004 jul 22 111 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, halfpage mhb754 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.67 mode10 cvbs9. handbook, halfpage mhb755 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.68 mode11 cvbs10. handbook, halfpage mhb756 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.69 mode12 cvbs11. handbook, halfpage mhb757 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.70 mode13 cvbs12.
2004 jul 22 112 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, halfpage mhb758 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.71 mode14 cvbs13. handbook, halfpage mhb759 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.72 mode15 cvbs14. handbook, halfpage mhb760 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.73 mode16 yc5 (gain -> gai2 level). handbook, halfpage mhb761 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.74 mode17 yc6 (gain -> gai2 level).
2004 jul 22 113 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, halfpage mhb762 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.75 mode18 yc5 (gain adapted to y gain). handbook, halfpage mhb763 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.76 mode19 yc6 (gain adapted to y gain). handbook, halfpage mhb764 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.77 mode1a yc7 (gain -> gai2 level). handbook, halfpage mhb765 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.78 mode1b yc8 (gain -> gai2 level).
2004 jul 22 114 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, halfpage mhb766 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.79 mode1c yc7 (gain adapted to y gain). handbook, halfpage mhb767 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.80 mode1d yc8 (gain adapted to y gain). handbook, halfpage mhb768 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.81 mode1e cvbs15. handbook, halfpage mhb769 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 chroma luma fig.82 mode1f cvbs16.
2004 jul 22 115 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, halfpage mhb770 mux ad1 y c b c r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 (chroma) sync (luma) fig.83 mode20 sy-p b -p r 1. handbook, halfpage mhb771 mux ad1 y c b c r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 (chroma) sync (luma) fig.84 mode21 sy-p b -p r 2. handbook, halfpage mhb772 mux ad1 y c b c r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 (chroma) sync (luma) fig.85 mode2e sy-p b -p r 3. handbook, halfpage mhb773 mux ad1 y c b c r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 (chroma) sync (luma) fig.86 mode2f sy-p b -p r 4.
2004 jul 22 116 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, halfpage mhb774 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 (chroma) sync (luma) fig.87 mode30 srgb1. handbook, halfpage mhb775 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 (chroma) sync (luma) fig.88 mode31 srgb2. handbook, halfpage mhb776 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 (chroma) sync (luma) fig.89 mode3e srgb3. handbook, halfpage mhb777 mux ad1 g b r ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 (chroma) sync (luma) fig.90 mode3f srgb4.
2004 jul 22 117 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 handbook, halfpage mhb778 mux ad1 dosl [ 1:0 ] ai13 ai14 ai11 ai12 ad2 ai23 ai24 ai21 ai22 ad3 ai33 ai34 ai31 ai32 ad4 ai43 ai44 ai41 ai42 adp [ 8:0 ] fig.91 vsb modes (use cvbs modes with refa = 1, dosl = 0 to 3 and gafix = 1).
2004 jul 22 118 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.2.4 s ubaddress 03h table 42 analog input control 2 (aico2); 03h[6:0] 15.2.5 s ubaddress 04h table 43 analog input control 3 (aico3): static gain control channel 1; 03h[0] and 04h[7:0] 15.2.6 s ubaddress 05h table 44 analog input control 4 (aico4); static gain control channel 2; 03h[1] and 05h[7:0] bit description symbol value function d6 hl not reference select hlnrs 0 normal clamping if decoder is in unlocked state 1 reference select if decoder is in unlocked state d5 agc hold during vertical blanking period vbsl 0 short vertical blanking (agc disabled during equalization and serration pulses); recommended setting 1 long vertical blanking (agc disabled from start of pre-equalization pulses until start of active video (line 22 for 60 hz, line 24 for 50 hz) d4 colour peak off cpoff 0 colour peak control active (ad signal is attenuated, if maximum input level is exceeded, avoids clipping effects on screen) 1 colour peak off d3 automatic gain control integration holdg 0 agc active 1 agc integration hold (freeze) d2 gain control x gafix 0 automatic gain controlled by mode5 to mode0 1 gain is user programmable via gai[17:10] and gai[27:20] d1 static gain control channel 2 sign bit gai28 see table 44 d0 static gain control channel 1 sign bit gai18 see table 43 decimal value gain (db) sign bit 03h[0] control bits d7 to d0 gai18 gai17 gai16 gai15 gai14 gai13 gai12 gai11 gai10 0... ? 3 0 00000000 ...144 0 0 1 0 0 1 0 0 0 0 145... 0 0 1 0 0 1 0 0 0 1 ...511 +6 1 1 1 1 1 1 1 1 1 decimal value gain (db) sign bit 03h[1] control bits d7 to d0 gai28 gai27 gai26 gai25 gai24 gai23 gai22 gai21 gai20 0... ? 3 0 00000000 ...144 0 0 1 0 0 1 0 0 0 0 145... 0 0 1 0 0 1 0 0 0 1 ...511 +6 1 1 1 1 1 1 1 1 1
2004 jul 22 119 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.2.7 s ubaddress 06h table 45 horizontal sync start; 06h[7:0] 15.2.8 s ubaddress 07h table 46 horizontal sync stop; 07h[7:0] delay time (step size = 8/llc) control bits d7 to d0 hsb7 hsb6 hsb5 hsb4 hsb3 hsb2 hsb1 hsb0 ? 128... ? 109 (50 hz) forbidden (outside available central counter range) ? 128... ? 108 (60 hz) ? 108 (50 hz)... 1 0 010100 ? 107 (60 hz)... 1 0 010101 ...108 (50 hz) 0 1 101100 ...107 (60 hz) 0 1 101011 109...127 (50 hz) forbidden (outside available central counter range) 108...127 (60 hz) delay time (step size = 8/llc) control bits d7 to d0 hss7 hss6 hss5 hss4 hss3 hss2 hss1 hss0 ? 128... ? 109 (50 hz) forbidden (outside available central counter range) ? 128... ? 108 (60 hz) ? 108 (50 hz)... 1 0 010100 ? 107 (60 hz)... 1 0 010101 ...108 (50 hz) 0 1 101100 ...107 (60 hz) 0 1 101011 109...127 (50 hz) forbidden (outside available central counter range) 108...127 (60 hz)
2004 jul 22 120 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.2.9 s ubaddress 08h table 47 sync control; 08h[7:0] bit description symbol value function d7 automatic eld detection aufd 0 eld state directly controlled via fsel 1 automatic eld detection; recommended setting d6 eld selection; active if aufd = 0 fsel 0 50 hz, 625 lines 1 60 hz, 525 lines d5 forced odd/even toggle foet 0 odd/even signal toggles only with interlaced source 1 odd/even signal toggles eldwise even if source is non-interlaced d[4:3] horizontal time constant selection htc[1:0] 00 tv mode, recommended for poor quality tv signals only; do not use for new applications 01 vtr mode, recommended if a de ection control circuit is directly connected to the saa7118 10 reserved 11 fast locking mode; recommended setting d2 horizontal pll hpll 0 pll closed 1 pll open; horizontal frequency xed d[1:0] vertical noise reduction vnoi[1:0] 00 normal mode; recommended setting 01 fast mode, applicable for stable sources only; automatic eld detection (aufd) must be disabled 10 free running mode 11 vertical noise reduction bypassed
2004 jul 22 121 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.2.10 s ubaddress 09h table 48 luminance control; 09h[7:0] 15.2.11 s ubaddress 0ah table 49 luminance brightness control: decoder part; 0ah[7:0] bit description symbol value function d7 chrominance trap/comb lter bypass byps 0 chrominance trap or luminance comb lter active; default for cvbs mode 1 chrominance trap or luminance comb lter bypassed; default for s-video mode d6 adaptive luminance comb lter ycomb 0 disabled (= chrominance trap enabled, if byps = 0) 1 active, if byps = 0 d5 processing delay in non comb lter mode ldel 0 processing delay is equal to internal pipelining delay; recommended setting 1 one (ntsc standards) or two (pal standards) video lines additional processing delay d4 remodulation bandwidth for luminance; see figs 14 to 17 lubw 0 small remodulation bandwidth (narrow chroma notch ? higher luminance bandwidth) 1 large remodulation bandwidth (wider chroma notch ? smaller luminance bandwidth) d[3:0] sharpness control, luminance lter characteristic; see fig.18 lufi[3:0] 0001 resolution enhancement lter 8.0 db at 4.1 mhz 0010 resolution enhancement lter 6.8 db at 4.1 mhz 0011 resolution enhancement lter 5.1 db at 4.1 mhz 0100 resolution enhancement lter 4.1 db at 4.1 mhz 0101 resolution enhancement lter 3.0 db at 4.1 mhz 0110 resolution enhancement lter 2.3 db at 4.1 mhz 0111 resolution enhancement lter 1.6 db at 4.1 mhz 0000 plain 1000 low-pass lter 2 db at 4.1 mhz 1001 low-pass lter 3 db at 4.1 mhz 1010 low-pass lter 3 db at 3.3 mhz; 4 db at 4.1 mhz 1011 low-pass lter 3 db at 2.6 mhz; 8 db at 4.1 mhz 1100 low-pass lter 3 db at 2.4 mhz; 14 db at 4.1 mhz 1101 low-pass lter 3 db at 2.2 mhz; notch at 3.4 mhz 1110 low-pass lter 3 db at 1.9 mhz; notch at 3.0 mhz 1111 low-pass lter 3 db at 1.7 mhz; notch at 2.5 mhz offset control bits d7 to d0 dbri7 dbri6 dbri5 dbri4 dbri3 dbri2 dbri1 dbri0 255 (bright) 11111111 128 (itu level) 10000000 0 (dark) 00000000
2004 jul 22 122 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.2.12 s ubaddress 0bh table 50 luminance contrast control: decoder part; 0bh[7:0] 15.2.13 s ubaddress 0ch table 51 chrominance saturation control: decoder part; 0ch[7:0] 15.2.14 s ubaddress 0dh table 52 chrominance hue control; 0dh[7:0] gain control bits d7 to d0 dcon7 dcon6 dcon5 dcon4 dcon3 dcon2 dcon1 dcon0 1.984 (maximum) 01111111 1.063 (itu level) 01000100 1.0 01000000 0 (luminance off) 00000000 ? 1 (inverse luminance) 11000000 ? 2 (inverse luminance) 10000000 gain control bits d7 to d0 dsat7 dsat6 dsat5 dsat4 dsat3 dsat2 dsat1 dsat0 1.984 (maximum) 01111111 1.0 (itu level) 01000000 0 (colour off) 00000000 ? 1 (inverse chrominance) 11000000 ? 2 (inverse chrominance) 10000000 hue phase (deg) control bits d7 to d0 huec7 huec6 huec5 huec4 huec3 huec2 huec1 huec0 +178.6... 01111111 ...0... 00000000 ... ? 180 10000000
2004 jul 22 123 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.2.15 s ubaddress 0eh table 53 chrominance control 1; 0eh[7:0] bit description symbol value function 50 hz/625 lines 60 hz/525 lines d7 clear dto cdto 0 disabled 1 every time cdto is set, the internal subcarrier dto phase is reset to 0 and the rtco output generates a logic 0 at time slot 68 (see document ?rtc functional description? , available on request). so an identical subcarrier phase can be generated by an external device (e.g. an encoder); if a dto reset is programmed via cdto it has always to be executed in the following way: 1. set cdto = 0 2. set cdto = 1. d[6:4] colour standard selection in non auto mode cstd[2:0] 000 pal bgdhi (4.43 mhz) ntsc m (3.58 mhz) 001 ntsc 4.43 (50 hz) pal 4.43 (60 hz) 010 combination-pal n (3.58 mhz) ntsc 4.43 (60 hz) 011 ntsc n (3.58 mhz) pal m (3.58 mhz) 100 reserved ntsc-japan (3.58 mhz) 101 secam reserved 110 reserved; do not use 111 reserved; do not use d[6:4] colour standard selection in auto mode (auto mode is selected, if either auto0 or auto1 is set; see below) cstd[2:0] 000 preferred standard (1) is pal bgdhi (4.43 mhz) preferred standard (1) is ntsc m (3.58 mhz) 001 reserved; do not use 010 reserved; do not use 011 reserved; do not use 100 preferred standard (1) is pal bgdhi (4.43 mhz) preferred standard (1) is ntsc-japan (3.58 mhz, no 7.5 ire offset) 101 preferred standard (1) is secam preferred standard (1) is ntsc m (3.58 mhz) 110 reserved; do not use 111 reserved; do not use d3 disable chrominance vertical lter and pal phase error correction dcvf 0 chrominance vertical lter and pal phase error correction on (during active video lines) 1 chrominance vertical lter and pal phase error correction permanently off d2 fast colour time constant fctc 0 nominal time constant 1 fast time constant for special applications (high quality input source, fast chroma lock required, automatic standard detection off)
2004 jul 22 124 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 note 1. the meaning of ?preferred standard? is, that the internal search machine will always give priority to the selected standard, thus the recognition time for these standards is kept short. 15.2.16 s ubaddress 0fh table 54 chrominance gain control; 0fh[7:0] 14h[2] and 0eh[1] automatic chrominance standard detection control auto[1:0] 00 disabled 01 active, lter settings and sharpness control are preset to default values according to the detected standard and mode; recommended setting 10 active, lter settings are preset to default values according to the detected standard and mode 11 active, but no lter presets d0 adaptive chrominance comb lter ccomb 0 disabled 1 active bit description symbol value function d7 automatic chrominance gain control acgc 0 on; recommended setting 1 programmable gain via cgain6 to cgain0; need to be set for secam standard d[6:0] chrominance gain value (if acgc is set to logic 1) cgain[6:0] 000 0000 minimum gain (0.5) 010 0100 nominal gain (1.125) 111 1111 maximum gain (7.5) bit description symbol value function 50 hz/625 lines 60 hz/525 lines
2004 jul 22 125 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.2.17 s ubaddress 10h table 55 chrominance control 2; 10h[7:0] 15.2.18 s ubaddress 11h table 56 mode/delay control; 11h[7:0] bit description symbol value function d[7:6] ne offset adjustment b ? y component offu[1:0] 00 0 lsb 01 1 ? 4 lsb 10 1 ? 2 lsb 11 3 ? 4 lsb d[5:4] ne offset adjustment r ? y component offv[1:0] 00 0 lsb 01 1 ? 4 lsb 10 1 ? 2 lsb 11 3 ? 4 lsb d3 chrominance bandwidth; see figs 12 and 13 chbw 0 small 1 wide d[2:0] combined luminance/chrominance bandwidth adjustment; see figs 12 to 18 lcbw[2:0] 000 smallest chrominance bandwidth/largest luminance bandwidth ... ... to ... 111 largest chrominance bandwidth/smallest luminance bandwidth bit description symbol value function d7 colour on colo 0 automatic colour killer enabled; recommended setting 1 colour forced on d6 polarity of rts1 output signal rtp1 0 non-inverted 1 inverted d[5:4] ne position of hs (steps in 2/llc) hdel[1:0] 00 0 01 1 10 2 11 3 d3 polarity of rts0 output signal rtp0 0 non-inverted 1 inverted d[2:0] luminance delay compensation (steps in 2/llc) ydel[2:0] 100 ? 4... 000 ...0... 011 ...3
2004 jul 22 126 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.2.19 s ubaddress 12h table 57 rt signal control: rts0 output; 12h[3:0] the polarity of any signal on rts0 can be inverted via rtp0[11h[3]]. note 1. function of hl is selectable via hlsel[13h[3]]: a) hlsel = 0: hl is standard horizontal lock indicator. b) hlsel = 1: hl is fast horizontal lock indicator (use is not recommended for sources with unstable timebase e.g. vcrs). rts0 output rtse03 rtse02 rtse01 rtse00 3-state 0000 constant low 0 0 0 1 cref (13.5 mhz toggling pulse; see fig.30) 0 0 1 0 cref2 (6.75 mhz toggling pulse; see fig.30) 0 0 1 1 hl; horizontal lock indicator (note 1): 0 1 0 0 hl = 0: unlocked hl = 1: locked vl; vertical and horizontal lock: 0 1 0 1 vl = 0: unlocked vl = 1: locked dl; vertical and horizontal lock and colour detected: 0 1 1 0 dl = 0: unlocked dl = 1: locked reserved 0 1 1 1 href, horizontal reference signal; indicates 720 pixels valid data on the expansion port. the positive slope marks the beginning of a new active line. href is also generated during the vertical blanking interval (see fig.30). 1000 hs: 1001 programmable width in llc8 steps via hsb[7:0] 06h[7:0] and hss[7:0] 07h[7:0] fine position adjustment in llc2 steps via hdel[1:0] 11h[5:4] (see fig.30) hq; href gated with vgate 1 0 1 0 reserved 1 0 1 1 v123; vertical sync (see vertical timing diagrams figs 28 and 29) 1 1 0 0 vgate; programmable via vsta[8:0] 17h[0] 15h[7:0], vsto[8:0] 17h[1] 16h[7:0] and vgps[17h[2]] 1101 lsbs of the 9-bit adc?s 1 1 1 0 fid; position programmable via vsta[8:0] 17h[0] 15h[7:0]; see vertical timing diagrams figs 28 and 29 1111
2004 jul 22 127 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 58 rt signal control: rts1 output; 12h[7:4] the polarity of any signal on rts1 can be inverted via rtp1[11h[6]]. note 1. function of hl is selectable via hlsel[13h[3]]: a) hlsel = 0: hl is standard horizontal lock indicator. b) hlsel = 1: hl is fast horizontal lock indicator (use is not recommended for sources with unstable timebase e.g. vcrs). rts1 output rtse13 rtse12 rtse11 rtse10 3-state 0000 constant low 0 0 0 1 cref (13.5 mhz toggling pulse; see fig.30) 0 0 1 0 cref2 (6.75 mhz toggling pulse; see fig.30) 0 0 1 1 hl; horizontal lock indicator (note 1): 0 1 0 0 hl = 0: unlocked hl = 1: locked vl; vertical and horizontal lock: 0 1 0 1 vl = 0: unlocked vl = 1: locked dl; vertical and horizontal lock and colour detected: 0 1 1 0 dl = 0: unlocked dl = 1: locked reserved 0 1 1 1 href, horizontal reference signal; indicates 720 pixels valid data on the expansion port. the positive slope marks the beginning of a new active line. href is also generated during the vertical blanking interval (see fig.30). 1000 hs: 1001 programmable width in llc8 steps via hsb[7:0] 06h[7:0] and hss[7:0] 07h[7:0] fine position adjustment in llc2 steps via hdel[1:0] 11h[5:4] (see fig.30) hq; href gated with vgate 1 0 1 0 reserved 1 0 1 1 v123; vertical sync (see vertical timing diagrams figs 28 and 29) 1 1 0 0 vgate; programmable via vsta[8:0] 17h[0] 15h[7:0], vsto[8:0] 17h[1] 16h[7:0] and vgps[17h[2]] 1101 reserved 1 1 1 0 fid; position programmable via vsta[8:0] 17h[0] 15h[7:0]; see vertical timing diagrams figs 28 and 29 1111
2004 jul 22 128 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.2.20 s ubaddress 13h table 59 rt/x port output control; 13h[7:0] bit description symbol value function d7 rtco output enable rtce 0 3-state 1 enabled d6 x port xrh output selection xrhs 0 href (see fig.30) 1 hs: programmable width in llc8 steps via hsb[7:0] 06h[7:0] and hss[7:0] 07h[7:0] fine position adjustment in llc2 steps via hdel[1:0] 11h[5:4] (see fig.30) d[5:4] x port xrv output selection xrvs[1:0] 00 v123 (see figs 28 and 29) 01 itu 656 related eld id (see figs 28 and 29) 10 inverted v123 11 inverted itu 656 related eld id d3 horizontal lock indicator selection hlsel 0 copy of inverted hlck status bit (default) 1 fast horizontal lock indicator (for special applications only) d[2:0] xpd7 to xpd0 (port output format selection); see section 9.5 ofts[2:0] 000 itu 656 001 itu 656 like format with modi ed eld blanking according to vgate position (programmable via vsta[8:0] 17h[0] 15h[7:0], vsto[8:0] 17h[1] 16h[7:0] and vgps[17h[2]]) 010 y-c b -c r 4 : 2 : 2 8-bit format (no sav/eav codes inserted) 011 reserved 100 multiplexed ad2/ad1 or ad4/ad3 bypass (bits d8 to d1) dependent on mode settings (see section 15.2.3); if two adcs are selected ad2/ad4 is output at cref = 1 and ad1/ad3 is output at cref = 0 101 multiplexed ad2/ad1 or ad4/ad3 bypass (bits d7 to d0) dependent on mode settings (see section 15.2.3); if two adcs are selected ad2/ad4 is output at cref = 1 and ad1/ad3 is output at cref = 0 110 reserved 111 multiplexed adc msb/lsb bypass dependent on mode settings; only one adc should be selected at a time; adx8 to adx1 are outputs at cref = 1 and adx7 to adx0 are outputs at cref = 0
2004 jul 22 129 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.2.21 s ubaddress 14h table 60 analog/adc/auto/compatibility control; 14h[7:0] bit description symbol value function d7 compatibility bit for saa7199 cm99 0 off (default) 1 on (to be set only if saa7199 is used for re-encoding in conjunction with rtco active ) d6 update time interval for agc value uptcv 0 horizontal update (once per line) 1 vertical update (once per eld) 23h[7] and 14h[5:4] analog test select aosl[2:0] 000 aout connected to ground 001 aout connected to input ad1 010 aout connected to input ad2 011 aout connected to input ad3 100 aout connected to input ad4 101 reserved 110 reserved 111 aout connected to internal test point bpfout d3 xtout output enable xtoute 0 xtout 3-stated 1 xtout enabled d2 automatic chrominance standard detection control 1 auto1 see section 15.2.15 d[1:0] adc sample clock phase delay apck[1:0] 00 application dependent 01 10 11
2004 jul 22 130 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 130 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... 15.2.22 s ubaddress 15h table 61 vgate start; fid polarity change; 17h[0] and 15h[7:0] start of vgate pulse (low-to-high transition) and polarity change of fid pulse, vgps = 0; see figs 28 and 29. field frame line counting decimal value msb 17h[0] control bits d7 to d0 vsta8 vsta7 vsta6 vsta5 vsta4 vsta3 vsta2 vsta1 vsta0 50 hz 1st 1 312 1 0 0 1 1 1 0 0 0 2nd 314 1st 2 0... 0 0 0 0 0 0 0 0 0 2nd 315 1st 312 ...310 1 0 0 1 1 0 1 1 1 2nd 625 60 hz 1st 4 262 1 0 0 0 0 0 1 1 0 2nd 267 1st 5 0... 0 0 0 0 0 0 0 0 0 2nd 268 1st 265 ...260 1 0 0 0 0 0 1 0 1 2nd 3
2004 jul 22 131 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 2004 jul 22 131 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 this text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader .this text is here in _ white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader.this text is here inthis text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the acrobat reader. white to force landscape pages to be ... 15.2.23 s ubaddress 16h table 62 vgate stop; 17h[1] and 16h[7:0] stop of vgate pulse (high-to-low transition), vgps = 0; see figs 28 and 29. field frame line counting decimal value msb 17h[1] control bits d7 to d0 vsto8 vsto7 vsto6 vsto5 vsto4 vsto3 vsto2 vsto1 vsto0 50 hz 1st 1 312 1 0 0 1 1 1 0 0 0 2nd 314 1st 2 0... 0 0 0 0 0 0 0 0 0 2nd 315 1st 312 ...310 1 0 0 1 1 0 1 1 1 2nd 625 60 hz 1st 4 262 1 0 0 0 0 0 1 1 0 2nd 267 1st 5 0... 0 0 0 0 0 0 0 0 0 2nd 268 1st 265 ...260 1 0 0 0 0 0 1 0 1 2nd 3
2004 jul 22 132 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.2.24 s ubaddress 17h table 63 miscellaneous/vgate msbs; 17h[7:0] 15.2.25 s ubaddress 18h table 64 raw data gain control; rawg[7:0] 18h[7:0]; see fig.20 15.2.26 s ubaddress 19h table 65 raw data offset control; rawo[7:0] 19h[7:0]; see fig.20 bit description symbol value function d7 llc output enable llce 0 enable 1 3-state d6 llc2 output enable llc2e 0 enable 1 3-state d[5:3] standard detection search loop latency laty[2:0] 000 reserved 001 one eld 010 two elds 011 three elds; recommended setting ... ... to ... 111 seven elds d2 alternative vgate position vgps 0 vgate position according to tables 61 and 62 1 vgate occurs one line earlier during eld 2 d1 msb vgate stop vsto8 see table 62 d0 msb vgate start vsta8 see table 61 gain control bits d7 to d0 rawg7 rawg6 rawg5 rawg4 rawg3 rawg2 rawg1 rawg0 255 (double amplitude) 01111111 128 (nominal level) 01000000 0 (off) 00000000 offset control bits d7 to d0 rawo7 rawo6 rawo5 rawo4 rawo3 rawo2 rawo1 rawo0 ? 128lsb 00000000 0lsb 10000000 +128 lsb 11111111
2004 jul 22 133 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.2.27 s ubaddress 1eh table 66 status byte 1 video decoder; 1eh[6:0]; read only register 15.2.28 s ubaddress 1fh table 67 status byte 2 video decoder; 1fh[7:5] and 1fh[3:0]; read only register bit description i 2 c-bus control bit value function d6 status bit for locked horizontal frequency hlck 0 locked 1 unlocked d5 slow time constant active in wipa mode sltca 0 not active 1 active d4 gain value for active luminance channel is limited; maximum (top) glimt 0 not active 1 active d3 gain value for active luminance channel is limited; minimum (bottom) glimb 0 not active 1 active d2 white peak loop is activated wipa 0 not active 1 active d[1:0] detected colour standard dcstd[1:0] 00 no colour (black-white) 01 ntsc 10 pal 11 secam bit description i 2 c-bus control bit value function d7 status bit for interlace detection intl 0 non-interlaced 1 interlaced d6 status bit for horizontal and vertical loop hlvln 0 both loops locked 1 unlocked d5 identi cation bit for detected eld frequency fidt 0 50 hz 160hz d3 macrovision encoded colour stripe burst type 3 (4 line version) detected type3 0 not active 1 active d2 macrovision encoded colour stripe burst detected (any type) colstr 0 not active 1 active d1 copy protected source detected according to macrovision version up to 7.01 copro 0 not active 1 active d0 ready for capture (all internal loops locked) rdcap 0 not active 1 active
2004 jul 22 134 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.3 programming register rgb/y-p b -p r component input processing 15.3.1 s ubaddress 23h table 68 analog input control 5 (aico5); 23h[7:4] and 23h[2:0] 15.3.2 s ubaddress 24h table 69 analog input control 6 (aico6): static gain control channel 3; 23h[0] and 24h[7:0] 15.3.3 s ubaddress 25h table 70 analog input control 7 (aico7): static gain control channel 4; 23h[1] and 25h[7:0] bit description symbol value function d7 analog output select aosl2 see table 60 d6 ad port output enable adpe 0 ad port is set to 3-state 1 ad port is enabled d5 adc clock selector exclk 0 all adcs are clocked by the internal generated line-locked clock 1 all adcs are clocked by the external input clock on clkext d4 clamping/reference selection for all adcs refa 0 clamping is dependent on hlnrs[03h[6]] 1 reference selection (input signal is pulled into adc range) d2 enable external source switch indicator input exmclr exmce 0 disabled 1 enabled (any slope on exmclr input will reset the internal gain control loop) d1 static gain control channel 2 sign bit gai48 see table 70 d0 static gain control channel 1 sign bit gai38 see table 69 decimal value gain (db) sign bit 23h[0] control bits d7 to d0 gai38 gai37 gai36 gai35 gai34 gai33 gai32 gai31 gai30 0... ? 3 0 00000000 ...144 0 0 1 0 0 1 0 0 0 0 145... 0 0 1 0 0 1 0 0 0 1 ...511 +6 1 1 1 1 1 1 1 1 1 decimal value gain (db) sign bit 23h[1] control bits d7 to d0 gai48 gai47 gai46 gai45 gai44 gai43 gai42 gai41 gai40 0... ? 3 0 00000000 ...144 0 0 1 0 0 1 0 0 0 0 145... 0 0 1 0 0 1 0 0 0 1 ...511 +6 1 1 1 1 1 1 1 1 1
2004 jul 22 135 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.3.4 s ubaddress 29h table 71 component delay/fast switch control; 29h[7:0] 15.3.5 s ubaddress 2ah table 72 luminance brightness control component part; 2ah[7:0] bit description symbol value function d7 fast switch enable fswe 0 disabled 1 pixelwise switching between decoded cvbs signal and component input signal is enabled (should only be used for component sources synchronous to cvbs input) d6 fast switch input polarity if fswe = 1 fswi 0 fsw = 0: decoded cvbs signal, fsw = 1: component signal 1 fsw = 1: decoded cvbs signal, fsw = 0: component signal static selection if fswe = 0 0 for modes 00h to 1fh 1 for modes 20h to 3fh d[5:4] fast switch input delay adjustment relative to component input signal fswdl[1:0] 00 0 pixel (default) 01 +1 pixel 10 ? 2 pixel 11 ? 1 pixel d3 component luminance peaking cmfi 0 disabled 1 enabled (+1.5 db at 5 mhz) d[2:0] component input delay adjustment relative to decoded cvbs signal cpdl[2:0] 000 0 pixel (default) 001 +4 pixel 010 +8 pixel 011 +12 pixel 100 ? 16 pixel 101 ? 12 pixel 110 ? 8 pixel 111 ? 4 pixel offset control bits d7 to d0 cbri7 cbri6 cbri5 cbri4 cbri3 cbri2 cbri1 cbri0 255 (bright) 11111111 128 (itu level) 10000000 0 (dark) 00000000
2004 jul 22 136 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.3.6 s ubaddress 2bh table 73 luminance contrast control component part; 2bh[7:0] 15.3.7 s ubaddress 2ch table 74 chrominance saturation control component part; 2ch[7:0] 15.4 interrupt mask registers see also section 9.4 15.4.1 s ubaddress 2dh table 75 interrupt mask 1; 2dh[4:2] and 2dh[1] gain control bits d7 to d0 ccon7 ccon6 ccon5 ccon4 ccon3 ccon2 ccon1 ccon0 1.984 (maximum) 01111111 1.0 (itu level) 01000000 0 (luminance off) 00000000 ? 1.0 (inverse luminance) 11000000 ? 2.0 (inverse luminance) 10000000 gain control bits d7 to d0 csat7 csat6 csat5 csat4 csat3 csat2 csat1 csat0 1.984 (maximum) 0 1 111111 1.0 (itu level) 0 1 000000 0 (colour off) 0 0 000000 ? 1.0 (inverse chrominance) 1 1 000000 ? 2.0 (inverse chrominance) 1 0 000000 bit description symbol value function d4 interrupt enable ?vps signal detected/lost? (corresponding ag: 60h[4]) mvpsv 0 disabled 1 enabled d3 interrupt enable ?palplus detected/lost? (corresponding ag: 60h[3]) mppv 0 disabled 1 enabled d2 interrupt enable ?closed caption detected/lost? (corresponding ag: 60h[2]) mccv 0 disabled 1 enabled d0 interrupt enable ?error output formatter? (corresponding ag: 8fh[2]) merrof 0 disabled 1 enabled
2004 jul 22 137 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.4.2 s ubaddress 2eh table 76 interrupt mask 2; 2eh[6] and 2eh[1:0] 15.4.3 s ubaddress 2fh table 77 interrupt mask 3; 2fh[7:5] and 2fh[3:0] 15.5 programming register audio clock generation see equations in section 8.7 and examples in tables 22 and 23. 15.5.1 s ubaddresses 30h to 32h table 78 audio master clock (amclk) cycles per eld bit description symbol value function d6 interrupt enable ?horizontal pll locked/unlocked? (corresponding ag: 1eh[6]) mhlck 0 disabled 1 enabled d1 interrupt enable ?colour standard changed 1? (corresponding ag: 1eh[1]) mdcstd1 0 disabled 1 enabled d0 interrupt enable ?colour standard changed 0? (corresponding ag: 1eh[0]) mdcstd0 0 disabled 1 enabled bit description symbol value function d7 interrupt enable ?interlaced/non-interlaced source? (corresponding ag: 1fh[7]) mintl 0 disabled 1 enabled d6 interrupt enable ?horizontal and vertical lock reached/lost? (corresponding ag: 1fh[6]) mhlvln 0 disabled 1 enabled d5 interrupt enable ? eld frequency has changed? (corresponding ag: 1fh[5]) mfidt 0 disabled 1 enabled d3 interrupt enable ?colour stripe type 3 burst detected/lost? (corresponding ag: 1fh[3]) mtype3 0 disabled 1 enabled d2 interrupt enable ?colour stripe burst (any type) detected/lost? (corresponding ag: 1fh[2]) mcolstr 0 disabled 1 enabled d1 interrupt enable ?copy protected signal found/lost? (corresponding ag: 1fh[1]) mcopro 0 disabled 1 enabled d0 interrupt enable ?ready for capture/not ready? (corresponding ag: 1fh[0]) mrdcap 0 disabled 1 enabled subaddress control bits d7 to d0 30h acpf7 acpf6 acpf5 acpf4 acpf3 acpf2 acpf1 acpf0 31h acpf15 acpf14 acpf13 acpf12 acpf11 acpf10 acpf9 acpf8 32h ?????? acpf17 acpf16
2004 jul 22 138 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.5.2 s ubaddresses 34h to 36h table 79 audio master clock (amclk) nominal increment 15.5.3 s ubaddress 38h table 80 clock ratio audio master clock (amxclk) to serial bit clock (asclk) 15.5.4 s ubaddress 39h table 81 clock ratio serial bit clock (asclk) to channel select clock (alrclk) 15.5.5 s ubaddress 3ah table 82 audio clock control; 3ah[3:0] 15.6 programming register vbi data slicer 15.6.1 s ubaddress 40h table 83 slicer control 1; 40h[6:4] subaddress control bits d7 to d0 34h acni7 acni6 acni5 acni4 acni3 acni2 acni1 acni0 35h acni15 acni14 acni13 acni12 acni11 acni10 acni9 acni8 36h ?? acni21 acni20 acni19 acni18 acni17 acni16 subaddress control bits d7 to d0 38h ?? sdiv5 sdiv4 sdiv3 sdiv2 sdiv1 sdiv0 subaddress control bits d7 to d0 39h ?? lrdiv5 lrdiv4 lrdiv3 lrdiv2 lrdiv1 lrdiv0 bit description symbol value function d3 audio pll modes apll 0 pll active, amclk is eld-locked 1 pll open, amclk is free-running d2 audio master clock vertical reference amvr 0 vertical reference pulse is taken from internal decoder 1 vertical reference is taken from xrv input (expansion port) d1 alrclk phase lrph 0 alrclk edges triggered by falling edges of asclk 1 alrclk edges triggered by rising edges of asclk d0 asclk phase scph 0 asclk edges triggered by falling edges of amclk 1 asclk edges triggered by rising edges of amclk bit description symbol value function d6 hamming check ham_n 0 hamming check for 2 bytes after framing code, dependent on data type (default) 1 no hamming check d5 framing code error fce 0 one framing code error allowed 1 no framing code errors allowed d4 amplitude searching hunt_n 0 amplitude searching active (default) 1 amplitude searching stopped
2004 jul 22 139 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.6.2 s ubaddresses 41h to 57h table 84 line control register; lcr2 to lcr24 (41h to 57h) see sections 8.3 and 8.5. 15.6.3 s ubaddress 58h table 85 programmable framing code; slicer set 58h[7:0] according to tables 15 and 84. 15.6.4 s ubaddress 59h table 86 horizontal offset for slicer; slicer set 59h and 5bh name description framing code d[7:4] (41h to 57h) d[3:0] (41h to 57h) dt[3:0] 62h[3:0] (field 1) dt[3:0] 62h[3:0] (field 2) wst625 teletext eurowst, ccst 27h 0000 0000 cc625 european closed caption 001 0001 0001 vps video programming service 9951h 0010 0010 wss wide screen signalling bits 1e3c1fh 0011 0011 wst525 us teletext (wst) 27h 0100 0100 cc525 us closed caption (line 21) 001 0101 0101 test line video component signal, vbi region ? 0110 0110 intercast raw data ? 0111 0111 general text teletext programmable 1000 1000 vitc625 vitc/ebu time codes (europe) programmable 1001 1001 vitc525 vitc/smpte time codes (usa) programmable 1010 1010 reserved reserved ? 1011 1011 nabts us nabts ? 1100 1100 japtext moji (japanese) programmable (a7h) 1101 1101 jfs japanese format switch (l20/22) programmable 1110 1110 active video video component signal, active video region (default) ? 1111 1111 framing code for programmable data types control bits d7 to d0 default value fc[7:0] = 40h horizontal offset control bits 5bh[2:0] control bits 59h[7:0] recommended value hoff[10:8] = 3h hoff[7:0] = 47h
2004 jul 22 140 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.6.5 s ubaddress 5ah table 87 vertical offset for slicer; slicer set 5ah and 5bh 15.6.6 s ubaddress 5bh table 88 field offset, and msbs for horizontal and vertical offsets; slicer set 5bh[7:6] see sections 15.6.4 and 15.6.5 for hoff[10:8] 5bh[2:0] and voff8[5bh[4]]. 15.6.7 s ubaddress 5dh table 89 header and data identi cation (did; itu 656) code control; slicer set 5dh[7:0] 15.6.8 s ubaddress 5eh table 90 sliced data identi cation (sdid) code; slicer set 5eh[5:0] vertical offset control bit 5bh[4] control bits 5ah[7:0] voff8 voff[7:0] minimum value 0 0 00h maximum value 312 1 38h value for 50 hz 625 lines input 0 03h value for 60 hz 525 lines input 0 06h bit description symbol value function d7 eld offset foff 0 no modi cation of internal eld indicator (default for 50 hz 625 lines input sources) 1 invert eld indicator (default for 60 hz 525 lines input sources) d6 recode recode 0 leave data unchanged (default) 1 convert 00h and ffh data bytes into 03h and fch bit description symbol value function d7 eld id and v-blank selection for text output (f and v reference selection) fvref 0 f and v output of slicer is lcr table dependent 1 f and v output is taken from decoder real-time signals even_itu and vblnk_itu d[5:0] default; did[5:0] = 00h did[5:0] 00 0000 anc header framing ; see fig.37 and table 21 special cases of did programming 11 1110 did[5:0] = 3eh sav/eav framing, with fvref = 1 11 1111 did[5:0] = 3fh sav/eav framing, with fvref = 0 bit description symbol value function d[5:0] sdid codes sdid[5:0] 00h default
2004 jul 22 141 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.6.9 s ubaddress 60h table 91 slicer status byte 0; 60h[6:2]; read only register 15.6.10 s ubaddresses 61h and 62h table 92 slicer status byte 1; 61h[5:0] and slicer status byte 2; 62h[7:0]; read only registers 15.7 programming register interfaces and scaler part 15.7.1 s ubaddress 80h table 93 global control 1; global set 80h[6:4]; note 1 swrst moved to subaddress 88h[5]. note 1. x = don?t care. bit description symbol value function d6 framing code valid fc8v 0 no framing code (0 error) in the last frame detected 1 framing code with 0 error detected d5 framing code valid fc7v 0 no framing code (1 error) in the last frame detected 1 framing code with 1 error detected d4 vps valid vpsv 0 no vps in the last frame 1 vps detected d3 palplus valid ppv 0 no palplus in the last frame 1 palplus detected d2 closed caption valid ccv 0 no closed caption in the last frame 1 closed caption detected subaddress bit symbol description 61h d5 f21_n eld id as seen by the vbi slicer; for eld 1: d5 = 0 d[4:0] ln[8:4] line number 62h d[7:4] ln[3:0] d[3:0] dt[3:0] data type; according to table 15 task enable control control bits d6 to d4 smod teb tea task of register set a is disabled x x 0 task of register set a is enabled x x 1 task of register set b is disabled x 0 x task of register set b is enabled x 1 x the scaler window de nes the f and v timing of the scaler output 0 x x vbi data slicer de nes the f and v timing of the scaler output 1 x x
2004 jul 22 142 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 94 global control 1; global set 80h[3:0]; note 1 notes 1. x = don?t care. 2. although the iclko i/o is independent of icks2 and icks3, this selection can only be used if icks2 = 1. 15.7.2 s ubaddresses 83h to 87h table 95 x port i/o enable and output clock phase control; global set 83h[5:4] table 96 x port i/o enable and output clock phase control; global set 83h[2:0]; note 1 note 1. x = don?t care. i port and scaler back-end clock selection control bits d3 to d0 icks3 icks2 icks1 icks0 iclk output and back-end clock is line-locked clock llc from decoder x x 0 0 iclk output and back-end clock is xclk from x port x x 0 1 iclk output is llc and back-end clock is llc2 clock x x (2) 10 back-end clock is the iclk input x x 1 1 idq pin carries the data quali er x 0 x x idq pin carries a gated back-end clock (dq and clk) x 1 x x idq generation only for valid data 0 x x x idq quali es valid data inside the scaling region and all data outside the scaling region 1xxx output clock phase control control bits d5 and d4 xpck1 xpck0 xclk default output phase, recommended value 00 xclk output inverted 0 1 xclk phase shifted by approximately 3 ns 1 0 xclk output inverted and shifted by approximately 3 ns 1 1 x port i/o enable control bits d2 to d0 xrqt xpe1 xpe0 x port output is disabled by software x 0 0 x port output is enabled by software x 0 1 x port output is enabled by pin xtri at logic 0 x 1 0 x port output is enabled by pin xtri at logic 1 x 1 1 xrdy output signal is a/b task ag from event handler (a = 1) 0 x x xrdy output signal is ready signal from scaler path (xrdy = 1 means the saa7118 is ready to receive data) 1xx
2004 jul 22 143 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 97 i port signal definitions; global set 84h[7:6] and 86h[5] table 98 i port signal definitions; global set 84h[5:4] and 86h[4] table 99 i port output signal de nitions; global set 84h[3:0]; note 1 note 1. x = don?t care. i port signal definitions control bits 86h[5] 84h[7:6] idg02 idg01 idg00 igp0 is output eld id, as de ned by ofidc[90h[6]] 0 0 0 igp0 is a/b task ag, as de ned by conlh[90h[7]] 0 0 1 igp0 is sliced data ag, framing the sliced vbi data at the i port 0 1 0 igp0 is set to logic 0 (default polarity) 011 igp0 is the output fifo almost lled ag 100 igp0 is the output fifo over ow ag 101 igp0 is the output fifo almost full ag, level to be programmed in subaddress 86h 1 1 0 igp0 is the output fifo almost empty ag, level to be programmed in subaddress 86h 1 1 1 i port signal definitions control bits 86h[4] 84h[5:4] idg12 idg11 idg10 igp1 is output eld id, as de ned by ofidc[90h[6]] 0 0 0 igp1 is a/b task ag, as de ned by conlh[90h[7]] 0 0 1 igp1 is sliced data ag, framing the sliced vbi data at the i port 0 1 0 igp1 is set to logic 0 (default polarity) 011 igp1 is the output fifo almost lled ag 100 igp1 is the output fifo over ow ag 101 igp1 is the output fifo almost full ag, level to be programmed in subaddress 86h 1 1 0 igp1 is the output fifo almost empty ag, level to be programmed in subaddress 86h 1 1 1 i port output signal definitions control bits d3 to d0 idv1 idv0 idh1 idh0 igph is a h gate signal, framing the scaler output x x 0 0 igph is an extended h gate (framing h gate during scaler output and scaler input h reference outside the scaler window) xx0 1 igph is a horizontal trigger pulse, on active going edge of h gate x x 1 0 igph is a horizontal trigger pulse, on active going edge of extended h gate x x 1 1 igpv is a v gate signal, framing scaled output lines 0 0 x x igpv is the v reference signal from scaler input 0 1 x x igpv is a vertical trigger pulse, derived from v gate 1 0 x x igpv is a vertical trigger pulse derived from input v reference 1 1 x x
2004 jul 22 144 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 100 x port signal de nitions text slicer; global set 85h[7:5]; note 1 note 1. x = don?t care. table 101 i port reference signal polarities; global set 85h[4:0]; note 1 note 1. x = don?t care. x port signal definitions text slicer control bits d7 to d5 iswp1 iswp0 illv video data limited to range 1 to 254 x x 0 video data limited to range 8 to 247 x x 1 dword byte swap, in uences serial output timing d0 d1 d2 d3 ? ff 00 00 sav c b 0y0c r 0y1 00x d1 d0 d3 d2 ? 00 ff sav 00 y0 c b 0y1c r 001x d2 d3 d0 d1 ? 00 sav ff 00 c r 0y1c b 0y0 1 0 x d3 d2 d1 d0 ? sav0000ffy1c r 0y0c b 011x i port reference signal polarities control bits d4 to d0 ig0p ig1p irvp irhp idqp idq at default polarity (1 = active) xxxx0 idq is inverted xxxx1 igph at default polarity (1 = active) x x x 0 x igph is inverted x x x 1 x igpv at default polarity (1 = active) x x 0 x x igpv is inverted x x 1 x x igp1 at default polarity x 0 x x x igp1 is inverted x 1 x x x igp0 at default polarity 0 xxxx igp0 is inverted 1 xxxx
2004 jul 22 145 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 102 i port fifo ag control and arbitration; global set 86h[7:4]; note 1 note 1. x = don?t care. table 103 i port fifo ag control and arbitration; global set 86h[3:0]; note 1 note 1. x = don?t care. function control bits d7 to d4 vitx1 vitx0 idg02 idg12 see subaddress 84h: idg11 and idg10 x x x 0 xxx1 see subaddress 84h: idg01 and idg00 x x 0 x xx1x i port signal de nitions i port data output inhibited 0 0 x x only video data is transferred 0 1 x x only text data is transferred (no eav, sav will occur) 1 0 x x text and video data is transferred, text has priority 1 1 x x i port fifo flag control and arbitration control bits d3 to d0 ffl1 ffl0 fel1 fel0 fae fifo ag almost empty level <16 dwords x x 0 0 <8 dwords x x 0 1 <4 dwords x x 1 0 0 dwords x x 1 1 faf fifo ag almost full level 16 dwords 0 0 x x 24 dwords 0 1 x x 28 dwords 1 0 x x 32 dwords 1 1 x x
2004 jul 22 146 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 104 i port i/o enable, output clock and gated clock phase control; global set 87h[7:4]; note 1 notes 1. x = don?t care. 2. ipck3 and ipck2 only affects the gated clock (subaddress 80h, bit icks2 = 1). table 105 i port i/o enable, output clock and gated clock phase control; global set 87h[1:0] output clock and gated clock phase control control bits d7 to d4 ipck3 (2) ipck2 (2) ipck1 ipck0 iclk default output phase x x 0 0 iclk phase shifted by 1 ? 2 clock cycle ? recommended for icks1 = 1 and icks0 = 0 (subaddress 80h) xx0 1 iclk phase shifted by approximately 3 ns x x 1 0 iclk phase shifted by 1 ? 2 clock cycle + approximately 3ns ? alternatively to setting ?01? xx1 1 idq = gated clock default output phase 0 0 x x idq = gated clock phase shifted by 1 ? 2 clock cycle ? recommended for gated clock output 01xx idq = gated clock phase shifted by approximately 3 ns 1 0 x x idq = gated clock phase shifted by 1 ? 2 clock cycle + approximately 3ns ? alternatively to setting ?01? 11xx i port i/o enable control bits d1 and d0 ipe1 ipe0 i port output is disabled by software 0 0 i port output is enabled by software 0 1 i port output is enabled by pin itri at logic 0 1 0 i port output is enabled by pin itri at logic 1 1 1
2004 jul 22 147 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.7.3 s ubaddress 88h table 106 adc port control; global set 88h[7:4]; note 1 notes 1. x = don?t care. 2. bit swrst is now located here. table 107 power save control; global set 88h[3] and 88h[1:0]; note 1 note 1. x = don?t care. adc port output control/start-up control control bits d7 to d4 dosl1 dosl0 swrst (2) dprog dprog = 0 after reset x x x 0 dprog = 1 can be used to assign that the device has been programmed; this bit can be monitored in the scalers status byte, bit prdon; if dprog was set to logic 1 and prdon status bit shows a logic 0 a power-up or start-up fail has occurred xxx1 scaler path is reset to its idle state, software reset x x 0 x scaler is switched back to operation x x 1 x digitized adc1 signal is fed to port adp[8:0] 0 0 x x digitized adc2 signal is fed to port adp[8:0] 0 1 x x digitized adc3 signal is fed to port adp[8:0] 1 0 x x digitized adc4 signal is fed to port adp[8:0] 1 1 x x power save control control bits d3, d1 and d0 slm3 slm1 slm0 decoder and vbi slicer are in operational mode x x 0 decoder and vbi slicer are in power-down mode; scaler only operates, if scaler input and iclk source is the x port (refer to subaddresses 80h and 91h/c1h) xx1 scaler is in operational mode x 0 x scaler is in power-down mode; scaler in power-down stops i port output x 1 x audio clock generation active 0 x x audio clock generation in power-down and output disabled 1 x x
2004 jul 22 148 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.7.4 s ubaddress 8fh table 108 status information scaler part; 8fh[7:0]; read only register note 1. status information is unsynchronized and shows the actual status at the time of i 2 c-bus read. 15.7.5 s ubaddresses 90h and c0h table 109 task handling control; register set a [90h[7:6]] and b [c0h[7:6]]; note 1 note 1. x = don?t care. table 110 task handling control; register set a [90h[5:3]] and b [c0h[5:3]] bit i 2 c-bus status bit function (1) d7 xtri status on input pin xtri, if not used for 3-state control, usable as hardware ag for software use d6 itri status on input pin itri, if not used for 3-state control, usable as hardware ag for software use d5 ffil status of the internal ?fifo almost lled? ag d4 ffov status of the internal ?fifo over ow? ag d3 prdon copy of bit dprog, can be used to detect power-up and start-up fails d2 errof error ag of scalers output formatter, normally set, if the output processing needs to be interrupted, due to input/output data rate con icts, e.g. if output data rate is much too low and all internal fifo capacity used d1 fidsci status of the eld sequence id at the scalers input d0 fidsco status of the eld sequence id at the scalers output, scaler processing dependent event handler control control bits d7 and d6 conlh ofidc output eld id is eld id from scaler input x 0 output eld id is task status ag, which changes every time a selected task is activated (not synchronized to input eld id) x1 scaler sav/eav byte bit d7 and task ag = 1, default 0x scaler sav/eav byte bit d7 and task ag = 0 1 x event handler control control bits d5 to d3 fskp2 fskp1 fskp0 active task is carried out directly 0 0 0 1 eld is skipped before active task is carried out 0 0 1 ... elds are skipped before active task is carried out ... ... ... 6 elds are skipped before active task is carried out 1 1 0 7 elds are skipped before active task is carried out 1 1 1
2004 jul 22 149 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 111 task handling control; register set a [90h[2:0]] and b [c0h[2:0]]; note 1 note 1. x = don?t care. 15.7.6 s ubaddresses 91h to 93h table 112 x port formats and con guration; register set a [91h[7:3]] and b [c1h[7:3]]; note 1 note 1. x = don?t care. event handler control control bits d2 to d0 rptsk strc1 strc0 event handler triggers immediately after nishing a task x 0 0 event handler triggers with next v-sync x 0 1 event handler triggers with eld id = 0 x 1 0 event handler triggers with eld id = 1 x 1 1 if active task is nished, handling is taken over by the next task 0 x x active task is repeated once, before handling is taken over by the next task 1 x x scaler input format and configuration source selection control bits d7 to d3 conlv hldfv scsrc1 scsrc0 scrqe only if xrqt[83h[2]] = 1: scaler input source reacts on saa7118 request xxxx0 scaler input source is a continuous data stream, which cannot be interrupted (must be logic 1, if saa7118 decoder part is source of scaler or xrqt[83h[2]] = 0) xxxx1 scaler input source is data from decoder, data type is provided according to table 15 xx0 0x scaler input source is y-c b -c r data from x port x x 0 1 x scaler input source is raw digital cvbs from selected analog channel, for backward compatibility only, further use is not recommended xx1 0x scaler input source is raw digital cvbs (or 16-bit y + c b -c r ,if no 16-bit outputs are active) from x port xx1 1x sav/eav code bits d6 and d5 (f and v) may change between sav and eav x0xxx sav/eav code bits d6 and d5 (f and v) are synchronized to scalers output line start x1xxx sav/eav code bit d5 (v) and v gate on pin igpv as generated by the internal processing; see fig.43 0xxxx sav/eav code bit d5 (v) and v gate are inverted 1 xxxx
2004 jul 22 150 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 113 x port formats and con guration; register set a [91h[2:0]] and b [c1h[2:0]]; note 1 notes 1. x = don?t care. 2. fsc2 and fsc1 only to be used, if x port input source does not provide chroma information for every input line. x port input stream must contain dummy chroma bytes. table 114 x port input reference signal de nitions; register set a [92h[7:4]] and b [c2h[7:4]]; note 1 note 1. x = don?t care. scaler input format and configuration format control control bits d2 to d0 fsc2 (2) fsc1 (2) fsc0 input is y-c b -c r 4 : 2 : 2 like sampling scheme x x 0 input is y-c b -c r 4 : 1 : 1 like sampling scheme x x 1 chroma is provided every line, default 00x chroma is provided every 2nd line 0 1 x chroma is provided every 3rd line 1 0 x chroma is provided every 4th line 1 1 x x port input reference signal definitions control bits d7 to d4 xfdv xfdh xdv1 xdv0 rising edge of xrv input and decoder v123 is vertical reference x x x 0 falling edge of xrv input and decoder v123 is vertical reference x x x 1 xrv is a v-sync or v gate signal x x 0 x xrv is a frame sync, v pulses are generated internally on both edges of fs input xx1x x port eld id is state of xrh at reference edge on xrv (de ned by xfdv) x0xx field id (decoder and x port eld id) is inverted x 1 x x reference edge for eld detection is falling edge of xrv 0 x x x reference edge for eld detection is rising edge of xrv 1 x x x
2004 jul 22 151 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 115 x port input reference signal de nitions; register set a [92h[3:0]] and b [c2h[3:0]]; note 1 note 1. x = don?t care. table 116 i port output format and con guration; register set a [93h[7:5]] and b [c3h[7:5]]; note 1 note 1. x = don?t care. x port input reference signal definitions control bits d3 to d0 xcode xdh xdq xcks xclk input clock and xdq input quali er are needed x x x 0 data rate is de ned by xclk only, no xdq signal used x x x 1 data are quali ed at xdq input at logic 1 x x 0 x data are quali ed at xdq input at logic 0 x x 1 x rising edge of xrh input is horizontal reference x 0 x x falling edge of xrh input is horizontal reference x 1 x x reference signals are taken from xrh and xrv 0 x x x reference signals are decoded from eav and sav 1 x x x i port output formats and configuration control bits d7 to d5 icode i8_16 fysk all lines will be output x x 0 skip the number of leading y only lines, as de ned by foi1 and foi0 x x 1 dwords are transferred byte wise, see subaddress 85h bits iswp1 and iswp0 x 0 x dwords are transferred 16-bit word wise via ipd and hpd, see subaddress 85h bits iswp1 and iswp0 x1x no itu 656 like sav/eav codes are available 0 x x itu 656 like sav/eav codes are inserted in the output data stream, framed by a quali er 1xx
2004 jul 22 152 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 117 i port output format and con guration; register set a [93h[4:0]] and b [c3h[4:0]]; note 1 note 1. x = don?t care. 15.7.7 s ubaddresses 94h to 9bh table 118 horizontal input window start; register set a [94h[7:0]; 95h[3:0]] and b [c4h[7:0]; c5h[3:0]] note 1. reference for counting are luminance samples. i port output formats and configuration control bits d4 to d0 foi1 foi0 fsi2 fsi1 fsi0 4 : 2 : 2 dword formatting x x 0 0 0 4 : 1 : 1 dword formatting x x 0 0 1 4 : 2 : 0, only every 2nd line y + c b -c r output, in between y only output xx0 1 0 4 : 1 : 0, only every 4th line y + c b -c r output, in between y only output xx0 1 1 y only x x 1 0 0 not de ned x x 1 0 1 not de ned x x 1 1 0 not de ned x x 1 1 1 no leading y only line, before 1st y + c b -c r line is output 0 0 x x x 1 leading y only line, before 1st y + c b -c r line is output 0 1 x x x 2 leading y only lines, before 1st y + c b -c r line is output 1 0 x x x 3 leading y only lines, before 1st y + c b -c r line is output 1 1 x x x horizontal input acquisition window definition offset in x (horizontal) direction (1) control bits a [95h[3:0]] b [c5h[3:0]] a [94h[7:0]] b [c4h[7:0]] xo11 xo10 xo9 xo8 xo7 xo6 xo5 xo4 xo3 xo2 xo1 xo0 a minimum of ?2? should be kept, due to a line counting mismatch 0 0 0000000010 odd offsets are changing the c b -c r sequence in the output stream to c r -c b sequence 0 0 0000000011 maximum possible pixel offset = 4095 1 1 1111111111
2004 jul 22 153 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 119 horizontal input window length; register set a [96h[7:0]; 97h[3:0]] and b [c6h[7:0]; c7h[3:0]] note 1. reference for counting are luminance samples. table 120 vertical input window start; register set a [98h[7:0]; 99h[3:0]] and b [c8h[7:0]; c9h[3:0]] note 1. for trigger condition: strc[1:0] 90h[1:0] = 00; yo + ys > (number of input lines per field ? 2), will result in field dropping. other trigger conditions: yo > (number of input lines per field ? 2), will result in field dropping. table 121 vertical input window length; register set a [9ah[7:0]; 9bh[3:0]] and b [cah[7:0]; cbh[3:0]] note 1. for trigger condition: strc[1:0] 90h[1:0] = 00; yo + ys > (number of input lines per field ? 2), will result in field dropping. other trigger conditions: ys > (number of input lines per field ? 2), will result in field dropping. horizontal input acquisition window definition input window length in x (horizontal) direction (1) control bits a [97h[3:0]] b [c7h[3:0]] a [96h[7:0]] b [c6h[7:0]] xs11 xs10 xs9 xs8 xs7 xs6 xs5 xs4 xs3 xs2 xs1 xs0 no output 0 0 0 0 0 0 0 00000 odd lengths are allowed, but will be rounded up to even lengths 0 0 0000000001 maximum possible number of input pixels = 4095 1 1 1111111111 vertical input acquisition window definition offset in y (vertical) direction (1) control bits a [99h[3:0]] b [c9h[3:0]] a [98h[7:0]] b [c8h[7:0]] yo11 yo10 yo9 yo8 yo7 yo6 yo5 yo4 yo3 yo2 yo1 yo0 line offset = 0 0 0 0 0 0 0 0 00000 line offset = 1 0 0 0 0 0 0 0 00001 maximum line offset = 4095 1 1 1 1 1 1 1 11111 vertical input acquisition window definition input window length in y (vertical) direction (1) control bits a [9bh[3:0]] b [cbh[3:0]] a [9ah[7:0]] b [cah[7:0]] ys11 ys10 ys9 ys8 ys7 ys6 ys5 ys4 ys3 ys2 ys1 ys0 no input lines 0 0 0 0 00000000 1 input line 0 0 0 0 00000001 maximum possible number of input lines = 4095 1 1 1111111111
2004 jul 22 154 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.7.8 s ubaddresses 9ch to 9fh table 122 horizontal output window length; register set a [9ch[7:0]; 9dh[3:0]] and b [cch[7:0]; cdh[3:0]] notes 1. reference for counting are luminance samples. 2. if the desired output length is greater than the number of scaled output pixels, the last scaled pixel is repeated. table 123 vertical output window length; register set a [9eh[7:0]; 9fh[3:0]] and b [ceh[7:0]; cfh[3:0]] note 1. if the desired output length is greater than the number of scaled output lines, the processing is cut. 15.7.9 s ubaddresses a0h to a2h table 124 horizontal prescaling; register set a [a0h[5:0]] and b [d0h[5:0]] horizontal output acquisition window definition number of desired output pixels in x (horizontal) direction (1) control bits a [9dh[3:0]] b [cdh[3:0]] a [9ch[7:0]] b [cch[7:0]] xd11 xd10 xd9 xd8 xd7 xd6 xd5 xd4 xd3 xd2 xd1 xd0 no output 0 0 0 0 00000000 odd lengths are allowed, but will be lled up to even lengths 0 0 0000000001 maximum possible number of input pixels = 4095; note 2 1 1 1111111111 vertical output acquisition window definition number of desired output lines in y (vertical) direction control bits a [9fh[3:0]] b [cfh[3:0]] a [9eh[7:0]] b [ceh[7:0]] yd11 yd10 yd9 yd8 yd7 yd6 yd5 yd4 yd3 yd2 yd1 yd0 no output 0 0 0 0 0 0 0 00000 1pixel 0 0 0000000001 maximum possible number of output lines = 4095; note 1 1 1 1111111111 horizontal integer prescaling ratio (xpsc) control bits d5 to d0 xpsc5 xpsc4 xpsc3 xpsc2 xpsc1 xpsc0 not allowed 000000 downscale = 1 0 00001 downscale = 1 ? 2 000010 ... ... ... ... ... ... ... downscale = 1 ? 63 111111
2004 jul 22 155 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 125 accumulation length; register set a [a1h[5:0]] and b [d1h[5:0]] table 126 prescaler dc gain and fir pre lter control; register set a [a2h[7:4]] and b [d2h[7:4]]; note 1 note 1. x = don?t care. table 127 prescaler dc gain and fir pre lter control; register set a [a2h[3:0]] and b [d2h[3:0]]; note 1 note 1. x = don?t care. horizontal prescaler accumulation sequence length (xacl) control bits d5 to d0 xacl5 xacl4 xacl3 xacl2 xacl1 xacl0 accumulation length = 1 0 00000 accumulation length = 2 0 00001 ... ... ... ... ... ... ... accumulation length = 64 1 11111 fir prefilter control control bits d7 to d4 pfuv1 pfuv0 pfy1 pfy0 luminance fir lter bypassed x x 0 0 h_y(z) = 1 ? 4 (1 2 1) x x 0 1 h_y(z) = 1 ? 8 ( ? 1 1 1.75 4.5 1.75 1 ? 1) x x 1 0 h_y(z) = 1 ? 8 (12221) x x 1 1 chrominance fir lter bypassed 0 0 x x h_uv(z) = 1 ? 4 (1 2 1) 0 1 x x h_uv(z) = 1 ? 32 (3 8 10 8 3) 1 0 x x h_uv(z) = 1 ? 8 (12221) 1 1 x x prescaler dc gain control bits d3 to d0 xc2_1 xdcg2 xdcg1 xdcg0 prescaler output is renormalized by gain factor = 1 x 0 0 0 prescaler output is renormalized by gain factor = 1 ? 2 x001 prescaler output is renormalized by gain factor = 1 ? 4 x010 prescaler output is renormalized by gain factor = 1 ? 8 x011 prescaler output is renormalized by gain factor = 1 ? 16 x100 prescaler output is renormalized by gain factor = 1 ? 32 x101 prescaler output is renormalized by gain factor = 1 ? 64 x110 prescaler output is renormalized by gain factor = 1 ? 128 x111 weighting of all accumulated samples is factor ?1?; e.g. xacl = 4 ? sequence 1 + 1 + 1 + 1 + 1 0xxx weighting of samples inside sequence is factor ?2?; e.g. xacl = 4 ? sequence 1 + 2 + 2 + 2 + 1 1xxx
2004 jul 22 156 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 15.7.10 s ubaddresses a4h to a6h table 128 luminance brightness control; register set a [a4h[7:0]] and b [d4h[7:0]] table 129 luminance contrast control; register set a [a5h[7:0]] and b [d5h[7:0]] table 130 chrominance saturation control; register set a [a6h[7:0]] and b [d6h[7:0]] 15.7.11 s ubaddresses a8h to aeh table 131 horizontal luminance scaling increment; register set a [a8h[7:0]; a9h[7:0]] and b [d8h[7:0]; d9h[7:0]] note 1. bits xscy[15:13] are reserved and are set to logic 0. luminance brightness control control bits d7 to d0 brig7 brig6 brig5 brig4 brig3 brig2 brig1 brig0 value = 0 00000000 nominal value = 128 10000000 value = 255 11111111 luminance contrast control control bits d7 to d0 cont7 cont6 cont5 cont4 cont3 cont2 cont1 cont0 gain = 0 00000000 gain = 1 ? 64 00000001 nominal gain = 64 01000000 gain = 127 ? 64 01111111 chrominance saturation control control bits d7 to d0 satn7 satn6 satn5 satn4 satn3 satn2 satn1 satn0 gain = 0 00000000 gain = 1 ? 64 00000001 nominal gain = 64 01000000 gain = 127 ? 64 01111111 horizontal luminance scaling increment control bits a [a9h[7:4]] b [d9h[7:4]] a [a9h[3:0]] b [d9h[3:0]] a [a8h[7:4]] b [d8h[7:4]] a [a8h[3:0]] b [d8h[3:0]] xscy[15:12] (1) xscy[11:8] xscy[7:4] xscy[3:0] scale = 1024 ? 1 (theoretical) zoom 0000 0000 0000 0000 scale = 1024 ? 294 , lower limit de ned by data path structure 0000 0001 0010 0110 scale = 1024 ? 1023 zoom 0000 0011 1111 1111 scale = 1, equals 1024 0000 0100 0000 0000 scale = 1024 ? 1025 downscale 0000 0100 0000 0001 scale = 1024 ? 8191 downscale 0001 1111 1111 1111
2004 jul 22 157 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 132 horizontal luminance phase offset; register set a [aah[7:0]] and b [dah[7:0]] table 133 horizontal chrominance scaling increment; register set a [ach[7:0]; adh[7:0]] and b [dch[7:0]; ddh[7:0]] note 1. bits xscc[15:13] are reserved and are set to logic 0. table 134 horizontal chrominance phase offset; register set a [aeh[7:0]] and b [deh[7:0]] 15.7.12 s ubaddresses b0h to bfh table 135 vertical luminance scaling increment; register set a [b0h[7:0]; b1h[7:0]] and b [e0h[7:0]; e1h[7:0]] horizontal luminance phase offset control bits d7 to d0 xphy7 xphy6 xphy5 xphy4 xphy3 xphy2 xphy1 xphy0 offset = 0 00000000 offset = 1 ? 32 pixel 00000001 offset = 32 ? 32 =1pixel 00100000 offset = 255 ? 32 pixel 11111111 horizontal chrominance scaling increment control bits a [adh[7:4]] b [ddh[7:4]] a [adh[3:0]] b [ddh[3:0]] a [ach[7:4]] b [dch[7:4]] a [ach[3:0]] b [dch[3:0]] xscc[15:12] (1) xscc[11:8] xscc[7:4] xscc[3:0] this value must be set to the luminance value 1 ? 2 xscy[15:0] 0000 0000 0000 0000 0000 0000 0000 0001 0001 1111 1111 1111 horizontal chrominance phase offset control bits d7 to d0 xphc7 xphc6 xphc5 xphc4 xphc3 xphc2 xphc1 xphc0 this value must be set to 1 ? 2 xphy[7:0] 00000000 00000001 11111111 vertical luminance scaling increment control bits a [b1h[7:4]] b [e1h[7:4]] a [b1h[3:0]] b [e1h[3:0]] a [b0h[7:4]] b [e0h[7:4]] a [b0h[3:0]] b [e0h[3:0]] yscy[15:12] yscy[11:8] yscy[7:4] yscy[3:0] scale = 1024 ? 1 (theoretical) zoom 0000 0000 0000 0001 scale = 1024 ? 1023 zoom 0000 0011 1111 1111 scale = 1, equals 1024 0000 0100 0000 0000 scale = 1024 ? 1025 downscale 0000 0100 0000 0001 scale = 1 ? 63.999 downscale 1111 1111 1111 1111
2004 jul 22 158 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 136 vertical chrominance scaling increment; register set a [b2h[7:0]; b3h[7:0]] and b [e2h[7:0]; e3h[7:0]] table 137 vertical scaling mode control; register set a [b4h[4 and 0]] and b [e4h[4 and 0]]; note 1 note 1. x = don?t care. table 138 vertical chrominance phase offset ?00?; register set a [b8h[7:0]] and b [e8h[7:0]] table 139 vertical luminance phase offset ?00?; register set a [bch[7:0]] and b [ech[7:0]] vertical chrominance scaling increment control bits a [b3h[7:4]] b [e3h[7:4]] a [b3h[3:0]] b [e3h[3:0]] a [b2h[7:4]] b [e2h[7:4]] a [b2h[3:0]] b [e2h[3:0]] yscc[15:12] yscc[11:8] yscc[7:4] yscc[3:0] this value must be set to the luminance value yscy[15:0] 0000 0000 0000 0001 1111 1111 1111 1111 vertical scaling mode control control bits d4 and d0 ymir ymode vertical scaling performs linear interpolation between lines x 0 vertical scaling performs higher order accumulating interpolation, better alias suppression x1 no mirroring 0x lines are mirrored 1 x vertical chrominance phase offset control bits d7 to d0 ypc07 ypc06 ypc05 ypc04 ypc03 ypc02 ypc01 ypc00 offset = 0 00000000 offset = 32 ? 32 = 1 line 00100000 offset = 255 ? 32 lines 11111111 vertical luminance phase offset control bits d7 to d0 ypy07 ypy06 ypy05 ypy04 ypy03 ypy02 ypy01 ypy00 offset = 0 00000000 offset = 32 ? 32 = 1 line 00100000 offset = 255 ? 32 lines 11111111
2004 jul 22 159 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 16 programming start set-up 16.1 decoder part the given values force the following behaviour of the saa7118 decoder part: ? the analog input ai11 expects an ntsc m, pal b, d, g, h and i or secam signal in cvbs format; analog anti-alias filter and agc active ? automatic field detection enabled ? standard itu 656 output format enabled on expansion (x) port ? contrast, brightness and saturation control in accordance with itu standards ? adaptive comb filter for luminance and chrominance activated ? pins llc, llc2, xtout, rts0, rts1 and rtco are set to 3-state. table 140 decoder part start set-up values for the three main standards sub address (hex) register function bit name (1) values (hex) ntsc m pal b, d, g, h and i secam 00 chip version id7 to id4 read only 01 increment delay x, wpoff, gudl1, gudl0 and idel3 to idel0 47 47 47 02 analog input control 1 fuse1, fuse0 and mode5 to mode0 c0 c0 c0 03 analog input control 2 x, hlnrs, vbsl, cpoff, holdg, gafix, gai28 and gai18 10 10 10 04 analog input control 3 gai17 to gai10 90 90 90 05 analog input control 4 gai27 to gai20 90 90 90 06 horizontal sync start hsb7 to hsb0 eb eb eb 07 horizontal sync stop hss7 to hss0 e0 e0 e0 08 sync control aufd, fsel, foet, htc1, htc0, hpll, vnoi1 and vnoi0 98 98 98 09 luminance control byps, ycomb, ldel, lubw and lufi3 to lufi0 40 40 1b 0a luminance brightness control dbri7 to dbri0 80 80 80 0b luminance contrast control dcon7 to dcon0 44 44 44 0c chrominance saturation control dsat7 to dsat0 40 40 40 0d chrominance hue control huec7 to huec0 00 00 00 0e chrominance control 1 cdto, cstd2 to cstd0, dcvf, fctc, auto0 and ccomb 89 81 d0 0f chrominance gain control acgc and cgain6 to cgain0 2a 2a 80 10 chrominance control 2 offu1, offu0, offv1, offv0, chbw and lcbw2 to lcbw0 0e 06 00 11 mode/delay control colo, rtp1, hdel1, hdel0, rtp0 and ydel2 to ydel0 00 00 00
2004 jul 22 160 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 note 1. all x values must be set to logic 0. 12 rt signal control rtse13 to rtse10 and rtse03 to rtse00 00 00 00 13 rt/x port output control rtce, xrhs, xrvs1, xrvs0, hlsel and ofts2 to ofts0 00 00 00 14 analog/adc/compatibility control cm99, uptcv, aosl1, aosl0, xtoute, auto1, apck1 and apck0 00 00 00 15 vgate start, fid change vsta7 to vsta0 11 11 11 16 vgate stop vsto7 to vsto0 fe fe fe 17 miscellaneous, vgate con guration and msbs llce, llc2e, laty2 to laty0, vgps, vsto8 and vsta8 c0 c0 c0 18 raw data gain control rawg7 to rawg0 40 40 40 19 raw data offset control rawo7 to rawo0 80 80 80 1a to 1d reserved x, x, x, x, x, x, x, x 00 00 00 1e status byte 1 video decoder ? , hlck, sltca, glimt, glimb, wipa, dcstd1 and dcstd0 read only 1f status byte 2 video decoder intl, hlvln, fidt, ? , type3, colstr, copro and rdcap read only sub address (hex) register function bit name (1) values (hex) ntsc m pal b, d, g, h and i secam
2004 jul 22 161 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 16.2 component video part and interrupt mask the given values force the following behaviour of the saa7118 component video part: ? the analog inputs ai11, ai21, ai31 and ai41 expect an rgbs signal; analog anti-alias filters and agc for the sync channel active ? for other settings see decoder part (section 16.1). table 141 component video part and interrupt mask start set-up values note 1. all x values must be set to logic 0. sub address (hex) register function bit name (1) values (hex) 23 analog input control 5 aosl2, adpe, exclk, refa, x, exmce, gai48 and gai38 00 24 analog input control 6 gai37 to gai30 90 25 analog input control 7 gai47 to gai40 90 26 to 28 reserved x, x, x, x, x, x, x, x 00 29 component delay fswe, fswi, fswdl1, fswdl0, cmfi, cpdl2 to cpdl0 40 2a component brightness control cbri7 to cbri0 80 2b component contrast control ccon7 to ccon0 40 2c component saturation control csat7 to csat0 47 2d interrupt mask 1 x, x, x, mvpsv, mppv, mccv, x and merrof 00 2e interrupt mask 2 x, mhlck, x, x, x, x, mdcstd1 and mdcstd0 00 2f interrupt mask 3 mintl, mhlvln, mfidt, x, mtype3, mcolstr, mcopro and mrdcap 00
2004 jul 22 162 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 16.3 audio clock generation part the given values force the following behaviour of the saa7118 audio clock generation part: ? used crystal is 24.576 mhz ? expected field frequency is 59.94 hz (e.g. ntsc m standard) ? generated audio master clock frequency at pin amclk is 256 44.1 khz = 11.2896 mhz ? amclk is externally connected to amxclk [short-cut between pins p11 (72) and m12 (76)] ? asclk = 32 44.1 khz = 1.4112 mhz ? alrclk is 44.1 khz. table 142 audio clock part set-up values note 1. all x values must be set to logic 0. sub address (hex) register function bit name (1) start values 76543210 hex 30 audio master clock cycles per eld; bits d7 to d0 acpf7 to acpf0 1 0 1 1 1 1 0 0 bc 31 audio master clock cycles per eld; bits d15 to d8 acpf15 to acpf8 1 1 0 1 1 1 1 1 df 32 audio master clock cycles per eld; bits d17 and d16 x, x, x, x, x, x, acpf17 and acpf16 00000010 02 33 reserved x, x, x, x, x, x, x, x 0 0 0 0 0 0 0 0 00 34 audio master clock nominal increment; bits d7 to d0 acni7 to acni0 1 1 0 0 1 1 0 1 cd 35 audio master clock nominal increment; bits d15 to d8 acni15 to acni8 1 1 0 0 1 1 0 0 cc 36 audio master clock nominal increment; bits d21 to d16 x, x, acni21 to acni16 0 0 1 1 1 0 1 0 3a 37 reserved x, x, x, x, x, x, x, x 0 0 0 0 0 0 0 0 00 38 clock ratio amxclk to asclk x, x, sdiv5 to sdiv0 0 0 0 0 0 0 1 1 03 39 clock ratio asclk to alrclk x, x, lrdiv5 to lrdiv0 0 0 0 1 0 0 0 0 10 3a audio clock generator basic set-up x, x, x, x, apll, amvr, lrph, scph 00000000 00 3b to 3f reserved x, x, x, x, x, x, x, x 0 0 0 0 0 0 0 0 00
2004 jul 22 163 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 16.4 data slicer and data type control part the given values force the following behaviour of the saa7118 vbi data slicer part: ? closed captioning data are expected at line 21 of field 1 (60 hz/525 line system) ? all other lines are processed as active video ? sliced data are framed by itu 656 like sav/eav sequence (did[5:0] = 3eh ? msb of sav/eav = 1). table 143 data slicer start set-up values notes 1. all x values must be set to logic 0. 2. changes for 50 hz/625 line systems: subaddress 5ah = 03h and subaddress 5bh = 03h. sub address (hex) register function bit name (1) start values 76543210 hex 40 slicer control 1 x, ham_n, fce, hunt_n, x, x, x, x 01000000 40 41 to 53 line control register 2 to 20 lcrn_7 to lcrn_0 (n = 2 to 20) 1 1111111 ff 54 line control register 21 lcr21_7 to lcr21_0 0 1011111 5f 55 to 57 line control register 22 to 24 lcrn_7 to lcrn_0 (n = 22 to 24) 1 1111111 ff 58 programmable framing code fc7 to fc0 0 0000000 00 59 horizontal offset for slicer hoff7 to hoff0 0 1000111 47 5a vertical offset for slicer voff7 to voff0 0 0000110 06 (2) 5b eld offset and msbs for horizontal and vertical offset foff, recode, x, voff8, x, hoff10 to hoff8 10000011 83 (2) 5c reserved x, x, x, x, x, x, x, x 0 0000000 00 5d header and data identi cation code control fvref, x, did5 to did0 0 0111110 3e 5e sliced data identi cation code x, x, sdid5 to sdid0 0 0000000 00 5f reserved x, x, x, x, x, x, x, x 0 0000000 00 60 slicer status byte 0 ? , fc8v, fc7v, vpsv, ppv, ccv, ? , ? read-only register 61 slicer status byte 1 ? , ? , f21_n, ln8 to ln4 read-only register 62 slicer status byte 2 ln3 to ln0, dt3 to dt0 read-only register
2004 jul 22 164 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 16.5 scaler and interfaces table 144 shows some examples for the scaler programming with: ? prsc = prescale ratio ? fisc = fine scale ratio ? vsc = vertical scale ratio. the ratio is defined as: in the following settings the vbi data slicer is inactive. to activate the vbi data slicer, vitx[1:0] 86h[7:6] has to be set to ?11?. depending on the vbi data slicer settings, the sliced vbi data is inserted after the end of the scaled video lines, if the regions of vbi data slicer and scaler overlaps. to compensate the running-in of the vertical scaler, the vertical input window lengths are extended by 2 to 290 lines, respectively 242 lines for xs, but the scaler increment calculations are done with 288, respectively 240 lines. 16.5.1 t rigger condition for trigger condition strc[1:0] 90h[1:0] not equal to ?00?. if the value of (yo + ys) is greater than or equal to 262 (ntsc), respectively 312 (pal) the output field rate is reduced to 30 hz, respectively 25 hz. horizontal and vertical offsets (xo and yo) have to be used to adjust the displayed video in the display window. as this adjustment is application dependent, the listed values are only dummy values. 16.5.2 m aximum zoom factor the maximum zoom factor is dependent on the back-end data rate and therefore back-end clock and data format dependent (8 or 16-bit output). the maximum horizontal zoom is limited to approximately 3.5, due to internal data path restrictions. number of input pixel number of output pixel ---------------------------------------------------------- - 16.5.3 e xamples table 144 example of con gurations example number scaler source and reference events input window output window scale ratios 1 analog input to 8-bit i port output, with sav/eav codes, 8-bit serial byte stream decoder output at x port; acquisition trigger at falling edge vertical and rising edge horizontal reference signal; h and v gates on igph and igpv, igp0 = vbi sliced data ag, igp1 = fifo almost full, level 24, idq quali er logic 1 active 720 240 720 240 prsc = 1; sc = 1; vsc = 1 2 analog input to 16-bit output, without sav/eav codes, y on i port, c b -c r on h port and decoder output at x port; acquisition trigger at falling edge vertical and rising edge horizontal reference signal; h and v-pulses on igph and igpv, output fid on igp0, igp1 xed to logic 1, idq quali er logic 0 active 704 288 768 288 prsc = 1; sc = 0.91667; vsc = 1 3 x port input 8-bit with sav/eav codes, no reference signals on xrh and xrv, xclk as gated clock; eld detection and acquisition trigger on different events; acquisition triggers at rising edge vertical and rising edge horizontal; i port output 8-bit with sav/eav codes like example number 1 720 240 352 288 prsc = 2; sc = 1.022; vsc = 0.8333 4 x port and h port for 16-bit y-c b -c r 4 : 2 : 2 input (if no 16-bit output selected); xrh and xrv as references; eld detection and acquisition trigger at falling edge vertical and rising edge horizontal; i port output 8-bit with sav/eav codes, but y only output 720 288 200 80 prsc = 2; sc = 1.8; vsc = 3.6
2004 jul 22 165 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 table 145 scaler and interface con guration example i 2 c-bus address (hex) main functionality example 1 example 2 example 3 example 4 hex dec hex dec hex dec hex dec global settings 80 task enable, idq and back-end clock de nition 10 ? 10 ? 10 ? 10 ? 83 xclk output phase and x port output enable 01 ? 01 ? 00 ? 00 ? 84 igph, igpv, igp0 and igp1 output de nition a0 ? c5 ? a0 ? a0 ? 85 signal polarity control and i port byte swapping 10 ? 09 ? 10 ? 10 ? 86 fifo ag thresholds and video/text arbitration 45 ? 40 ? 45 ? 45 ? 87 iclk and idq output phase and i port enable 01 ? 01 ? 01 ? 01 ? 88 power save control and software reset f0 ? f0 ? f0 ? f0 ? task a: scaler input con guration and output format settings 90 task handling 00 ? 00 ? 00 ? 00 ? 91 scaler input source and format de nition 08 ? 08 ? 18 ? 38 ? 92 reference signal de nition at scaler input 10 ? 10 ? 10 ? 10 ? 93 i port output formats and configuration 80 ? 40 ? 80 ? 84 ? input and output window de nition 94 horizontal input offset (xo) 10 16 10 16 10 16 10 16 95 00 ? 00 ? 00 ? 00 ? 96 horizontal input (source) window length (xs) d0 720 c0 704 d0 720 d0 720 97 02 ? 02 ? 02 ? 02 ? 98 vertical input offset (yo) 0a 10 0a 10 0a 10 0a 10 99 00 ? 00 ? 00 ? 00 ? 9a vertical input (source) window length (ys) f2 242 22 290 f2 242 22 290 9b 00 ? 01 ? 00 ? 01 ? 9c horizontal output (destination) window length (xd) d0 720 00 768 60 352 c8 200 9d 02 ? 03 ? 01 ? 00 ? 9e vertical output (destination) window length (yd) f0 240 20 288 20 288 50 80 9f 00 ? 01 ? 01 ? 00 ?
2004 jul 22 166 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 pre ltering and prescaling a0 integer prescale (value ?00? not allowed) 01 ? 01 ? 02 ? 02 ? a1 accumulation length for prescaler 00 ? 00 ? 02 ? 03 ? a2 fir pre lter and prescaler dc normalization 00 ? 00 ? aa ? f2 ? a4 scaler brightness control 80 128 80 128 80 128 80 128 a5 scaler contrast control 40 64 40 64 40 64 11 17 a6 scaler saturation control 40 64 40 64 40 64 11 17 horizontal phase scaling a8 horizontal scaling increment for luminance 00 1024 aa 938 18 1048 34 1844 a9 04 ? 03 ? 04 ? 07 ? aa horizontal phase offset luminance 00 ? 00 ? 00 ? 00 ? ac horizontal scaling increment for chrominance 00 512 d5 469 0c 524 9a 922 ad 02 ? 01 ? 02 ? 03 ? ae horizontal phase offset chrominance 00 ? 00 ? 00 ? 00 ? vertical scaling b0 vertical scaling increment for luminance 00 1024 00 1024 55 853 66 3686 b1 04 ? 04 ? 03 ? 0e ? b2 vertical scaling increment for chrominance 00 1024 00 1024 55 853 66 3686 b3 04 ? 04 ? 03 ? 0e ? b4 vertical scaling mode control 00 ? 00 ? 00 ? 01 ? b8 to bf vertical phase offsets luminance and chrominance (need to be used for interlace correct scaled output) start with b8 to bf at 00h, if there are no problems with the interlaced scaled output optimize according to section 8.4.3.2 i 2 c-bus address (hex) main functionality example 1 example 2 example 3 example 4 hex dec hex dec hex dec hex dec
2004 jul 22 167 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 17 package outlines 1 a a 1 e 1 b a 2 a 1 a 2 detail x y unit d y e references outline version european projection issue date 00-03-04 03-01-22 iec jedec jeita mm 0.5 0.3 1.75 15.2 14.8 d 1 13.7 13.0 13.7 13.0 e 1 13 e 2 13 1.25 1.05 y 1 0.6 0.4 0.1 0.15 0.35 dimensions (mm are the original dimensions) sot472-1 144e ms-034 - - - 15.2 14.8 e w 0.3 v 0 5 10 mm scale sot472-1 bga156: plastic ball grid array package; 156 balls; body 15 x 15 x 1.15 mm a max. y 1 c c e 1 d d 1 x e 1 a b c d e f g h j k l m n p 2 3 4 5 6 7 8 910 11 12 13 14 b a ball a1 index area e e e 1 b e 2 a c c b ? v m ? w m shape optional (4x) 1/2 e 1/2 e
2004 jul 22 168 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 unit a 1 a 2 a 3 b p c e (1) (1) (1) e h e l l p z y w v references outline version european projection issue date iec jedec jeita mm 0.50 0.25 3.6 3.2 0.25 0.38 0.22 0.23 0.13 28.1 27.9 0.65 0.3 1.6 1.5 1.1 7 0 o o 0.13 0.1 dimensions (mm are the original dimensions) note 1. plastic or metal protrusions of 0.25 mm maximum per side are not included.  1.03 0.73 sot322-2 135e12 ms-022 00-01-19 03-02-25 d (1) 28.1 27.9 h d 31.45 30.95 31.45 30.95 e z 1.5 1.1 d pin 1 index b p e e a 1 a l p detail x l (a ) 3 b 40 c d h b p e h a 2 v m b d z d a z e e v m a x 1 160 121 120 81 80 41 y w m w m 0 5 10 mm scale sot322-2 160 leads (lead length 1.6 mm); body 28 x 28 x 3.4 mm; high stand-off height qfp160: plastic quad flat package; a max. 4.07
2004 jul 22 169 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 18 soldering 18.1 introduction to soldering surface mount packages this text gives a very brief insight to a complex technology. a more in-depth account of soldering ics can be found in our ?data handbook ic26; integrated circuit packages? (document order number 9398 652 90011). there is no soldering method that is ideal for all surface mount ic packages. wave soldering can still be used for certain surface mount ics, but it is not suitable for fine pitch smds. in these situations reflow soldering is recommended. 18.2 re ow soldering reflow soldering requires solder paste (a suspension of fine solder particles, flux and binding agent) to be applied to the printed-circuit board by screen printing, stencilling or pressure-syringe dispensing before package placement. driven by legislation and environmental forces the worldwide use of lead-free solder pastes is increasing. several methods exist for reflowing; for example, convection or convection/infrared heating in a conveyor type oven. throughput times (preheating, soldering and cooling) vary between 100 seconds and 200 seconds depending on heating method. typical reflow peak temperatures range from 215 c to 270 c depending on solder paste material. the top-surface temperature of the packages should preferably be kept: ? below 225 c (snpb process) or below 245 c (pb-free process) ? for all bga, htsson-t and ssop-t packages ? for packages with a thickness 2.5 mm ? for packages with a thickness < 2.5 mm and a volume 350 mm 3 so called thick/large packages. ? below 240 c (snpb process) or below 260 c (pb-free process) for packages with a thickness < 2.5 mm and a volume < 350 mm 3 so called small/thin packages. moisture sensitivity precautions, as indicated on packing, must be respected at all times. 18.3 wave soldering conventional single wave soldering is not recommended for surface mount devices (smds) or printed-circuit boards with a high component density, as solder bridging and non-wetting can present major problems. to overcome these problems the double-wave soldering method was specifically developed. if wave soldering is used the following conditions must be observed for optimal results: ? use a double-wave soldering method comprising a turbulent wave with high upward pressure followed by a smooth laminar wave. ? for packages with leads on two sides and a pitch (e): ? larger than or equal to 1.27 mm, the footprint longitudinal axis is preferred to be parallel to the transport direction of the printed-circuit board; ? smaller than 1.27 mm, the footprint longitudinal axis must be parallel to the transport direction of the printed-circuit board. the footprint must incorporate solder thieves at the downstream end. ? for packages with leads on four sides, the footprint must be placed at a 45 angle to the transport direction of the printed-circuit board. the footprint must incorporate solder thieves downstream and at the side corners. during placement and before soldering, the package must be fixed with a droplet of adhesive. the adhesive can be applied by screen printing, pin transfer or syringe dispensing. the package can be soldered after the adhesive is cured. typical dwell time of the leads in the wave ranges from 3 seconds to 4 seconds at 250 c or 265 c, depending on solder material applied, snpb or pb-free respectively. a mildly-activated flux will eliminate the need for removal of corrosive residues in most applications. 18.4 manual soldering fix the component by first soldering two diagonally-opposite end leads. use a low voltage (24 v or less) soldering iron applied to the flat part of the lead. contact time must be limited to 10 seconds at up to 300 c. when using a dedicated tool, all other leads can be soldered in one operation within 2 seconds to 5 seconds between 270 c and 320 c.
2004 jul 22 170 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 18.5 suitability of surface mount ic packages for wave and re ow soldering methods notes 1. for more detailed information on the bga packages refer to the ?(lf)bga application note ? (an01026); order a copy from your philips semiconductors sales office. 2. all surface mount (smd) packages are moisture sensitive. depending upon the moisture content, the maximum temperature (with respect to time) and body size of the package, there is a risk that internal or external package cracks may occur due to vaporization of the moisture in them (the so called popcorn effect). for details, refer to the drypack information in the ?data handbook ic26; integrated circuit packages; section: packing methods? . 3. these transparent plastic packages are extremely sensitive to reflow soldering conditions and must on no account be processed through more than one soldering cycle or subjected to infrared reflow soldering with peak temperature exceeding 217 c 10 c measured in the atmosphere of the reflow oven. the package body peak temperature must be kept as low as possible. 4. these packages are not suitable for wave soldering. on versions with the heatsink on the bottom side, the solder cannot penetrate between the printed-circuit board and the heatsink. on versions with the heatsink on the top side, the solder might be deposited on the heatsink surface. 5. if wave soldering is considered, then the package must be placed at a 45 angle to the solder wave direction. the package footprint must incorporate solder thieves downstream and at the side corners. 6. wave soldering is suitable for lqfp, tqfp and qfp packages with a pitch (e) larger than 0.8 mm; it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.65 mm. 7. wave soldering is suitable for ssop, tssop, vso and vssop packages with a pitch (e) equal to or larger than 0.65 mm; it is definitely not suitable for packages with a pitch (e) equal to or smaller than 0.5 mm. 8. image sensor packages in principle should not be soldered. they are mounted in sockets or delivered pre-mounted on flex foil. however, the image sensor package can be mounted by the client on a flex foil by using a hot bar soldering process. the appropriate soldering profile can be provided on request. 9. hot bar or manual soldering is suitable for pmfp packages. package (1) soldering method wave reflow (2) bga, htsson..t (3) , lbga, lfbga, sqfp, ssop..t (3) , tfbga, uson, vfbga not suitable suitable dhvqfn, hbcc, hbga, hlqfp, hso, hsop, hsqfp, hsson, htqfp, htssop, hvqfn, hvson, sms not suitable (4) suitable plcc (5) , so, soj suitable suitable lqfp, qfp, tqfp not recommended (5)(6) suitable ssop, tssop, vso, vssop not recommended (7) suitable cwqccn..l (8) , pmfp (9) , wqccn..l (8) not suitable not suitable
2004 jul 22 171 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 19 data sheet status notes 1. please consult the most recently issued data sheet before initiating or completing a design. 2. the product status of the device(s) described in this data sheet may have changed since this data sheet was published. the latest information is available on the internet at url http://www.semiconductors.philips.com. 3. for data sheets describing multiple type numbers, the highest-level product status determines the data sheet status. level data sheet status (1) product status (2)(3) definition i objective data development this data sheet contains data from the objective speci cation for product development. philips semiconductors reserves the right to change the speci cation in any manner without notice. ii preliminary data quali cation this data sheet contains data from the preliminary speci cation. supplementary data will be published at a later date. philips semiconductors reserves the right to change the speci cation without notice, in order to improve the design and supply the best possible product. iii product data production this data sheet contains data from the product speci cation. philips semiconductors reserves the right to make changes at any time in order to improve the design, manufacturing and supply. relevant changes will be communicated via a customer product/process change noti cation (cpcn). 20 definitions short-form specification ? the data in a short-form specification is extracted from a full data sheet with the same type number and title. for detailed information see the relevant data sheet or data handbook. limiting values definition ? limiting values given are in accordance with the absolute maximum rating system (iec 60134). stress above one or more of the limiting values may cause permanent damage to the device. these are stress ratings only and operation of the device at these or at any other conditions above those given in the characteristics sections of the specification is not implied. exposure to limiting values for extended periods may affect device reliability. application information ? applications that are described herein for any of these products are for illustrative purposes only. philips semiconductors make no representation or warranty that such applications will be suitable for the specified use without further testing or modification. 21 disclaimers life support applications ? these products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. philips semiconductors customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify philips semiconductors for any damages resulting from such application. right to make changes ? philips semiconductors reserves the right to make changes in the products - including circuits, standard cells, and/or software - described or contained herein in order to improve design and/or performance. when the product is in full production (status ?production?), relevant changes will be communicated via a customer product/process change notification (cpcn). philips semiconductors assumes no responsibility or liability for the use of any of these products, conveys no licence or title under any patent, copyright, or mask work right to these products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise specified.
2004 jul 22 172 philips semiconductors product speci cation multistandard video decoder with adaptive comb lter and component video input saa7118 22 purchase of philips i 2 c components purchase of philips i 2 c components conveys a license under the philips? i 2 c patent to use the components in the i 2 c system provided the system conforms to the i 2 c specification defined by philips. this specification can be ordered using the code 9398 393 40011.
? koninklijke philips electronics n.v. 2004 sca76 all rights are reserved. reproduction in whole or in part is prohibited without the prior written consent of the copyright owne r. the information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. no liability will be accepted by the publisher for any consequence of its use. publication thereof does not con vey nor imply any license under patent- or other industrial or intellectual property rights. philips semiconductors ? a worldwide company contact information for additional information please visit http://www.semiconductors.philips.com . fax: +31 40 27 24825 for sales of ces addresses send e-mail to: sales.addresses@www.semiconductors.philips.com . printed in the netherlands r21/05/pp173 date of release: 2004 jul 22 document order number: 9397 750 13497


▲Up To Search▲   

 
Price & Availability of SAA7118EV1M5

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X